# -*- coding: utf-8 -*-

"""
simple dictionary function(s) that return either a chromosome accession or identifier
"""

# Note, several ALT accessions have had to be changed due to incorrect naming e.g.
# HSCHR6_MHC_SSTO_CTG1 > HSCHR6_MHC_SSTO

# Import modules
import re

def to_accession(chr_num, primary_assembly):
    # Available genome builds
    GRCh37 = {
        "1": "NC_000001.10",
        "2": "NC_000002.11",
        "3": "NC_000003.11",
        "4": "NC_000004.11",
        "5": "NC_000005.9",
        "6": "NC_000006.11",
        "7": "NC_000007.13",
        "8": "NC_000008.10",
        "9": "NC_000009.11",
        "10": "NC_000010.10",
        "11": "NC_000011.9",
        "12": "NC_000012.11",
        "13": "NC_000013.10",
        "14": "NC_000014.8",
        "15": "NC_000015.9",
        "16": "NC_000016.9",
        "17": "NC_000017.10",
        "18": "NC_000018.9",
        "19": "NC_000019.9",
        "20": "NC_000020.10",
        "21": "NC_000021.8",
        "22": "NC_000022.10",
        "23": "NC_000023.10",
        "24": "NC_000024.9",
        "x": "NC_000023.10",
        "y": "NC_000024.9",
        "X": "NC_000023.10",
        "Y": "NC_000024.9",
        "M": "NC_012920.1",
        "m": "NC_012920.1",

        # UCSC alts
        "11_GL000202_RANDOM": "NT_113921.2",
        "17_CTG5_HAP1": "NT_167251.1",
        "17_GL000203_RANDOM": "NT_113941.1",
        "17_GL000204_RANDOM": "NT_113943.1",
        "17_GL000205_RANDOM": "NT_113930.1",
        "17_GL000206_RANDOM": "NT_113945.1",
        "18_GL000207_RANDOM": "NT_113947.1",
        "19_GL000208_RANDOM": "NT_113948.1",
        "19_GL000209_RANDOM": "NT_113949.1",
        "1_GL000191_RANDOM": "NT_113878.1",
        "1_GL000192_RANDOM": "NT_167207.1",
        "21_GL000210_RANDOM": "NT_113950.2",
        "4_CTG9_HAP1": "NT_167250.1",
        "4_GL000193_RANDOM": "NT_113885.1",
        "4_GL000194_RANDOM": "NT_113888.1",
        "6_APD_HAP1": "NT_167244.1",
        "6_COX_HAP2": "NT_113891.2",
        "6_DBB_HAP3": "NT_167245.1",
        "6_MANN_HAP4": "NT_167246.1",
        "6_MCF_HAP5": "NT_167247.1",
        "6_QBL_HAP6": "NT_167248.1",
        "6_SSTO_HAP7": "NT_167249.1",
        "7_GL000195_RANDOM": "NT_113901.1",
        "8_GL000196_RANDOM": "NT_113909.1",
        "8_GL000197_RANDOM": "NT_113907.1",
        "9_GL000198_RANDOM": "NT_113914.1",
        "9_GL000199_RANDOM": "NT_113916.2",
        "9_GL000200_RANDOM": "NT_113915.1",
        "9_GL000201_RANDOM": "NT_113911.1",
        "UN_GL000211": "NT_113961.1",
        "UN_GL000212": "NT_113923.1",
        "UN_GL000213": "NT_167208.1",
        "UN_GL000214": "NT_167209.1",
        "UN_GL000215": "NT_167210.1",
        "UN_GL000216": "NT_167211.1",
        "UN_GL000217": "NT_167212.1",
        "UN_GL000218": "NT_113889.1",
        "UN_GL000219": "NT_167213.1",
        "UN_GL000220": "NT_167214.1",
        "UN_GL000221": "NT_167215.1",
        "UN_GL000222": "NT_167216.1",
        "UN_GL000223": "NT_167217.1",
        "UN_GL000224": "NT_167218.1",
        "UN_GL000225": "NT_167219.1",
        "UN_GL000226": "NT_167220.1",
        "UN_GL000227": "NT_167221.1",
        "UN_GL000228": "NT_167222.1",
        "UN_GL000229": "NT_167223.1",
        "UN_GL000230": "NT_167224.1",
        "UN_GL000231": "NT_167225.1",
        "UN_GL000232": "NT_167226.1",
        "UN_GL000233": "NT_167227.1",
        "UN_GL000234": "NT_167228.1",
        "UN_GL000235": "NT_167229.1",
        "UN_GL000236": "NT_167230.1",
        "UN_GL000237": "NT_167231.1",
        "UN_GL000238": "NT_167232.1",
        "UN_GL000239": "NT_167233.1",
        "UN_GL000240": "NT_167234.1",
        "UN_GL000241": "NT_167235.1",
        "UN_GL000242": "NT_167236.1",
        "UN_GL000243": "NT_167237.1",
        "UN_GL000244": "NT_167238.1",
        "UN_GL000245": "NT_167239.1",
        "UN_GL000246": "NT_167240.1",
        "UN_GL000247": "NT_167241.1",
        "UN_GL000248": "NT_167242.1",
        "UN_GL000249": "NT_167243.1",

        # GRC Alts
        'HG1472_PATCH': 'NW_004070864.2',
        'HG989_PATCH': 'NW_003571030.1',
        'HG1292_PATCH': 'NW_003871056.3',
        'HG1287_PATCH': 'NW_003871055.3',
        'HSCHR1_1_CTG31': 'NW_003315905.1',
        'HSCHR1_2_CTG31': 'NW_003315906.1',
        'HSCHR1_3_CTG31': 'NW_003315907.1',
        'HG1471_PATCH': 'NW_004070863.1',
        'HG1293_PATCH': 'NW_003871057.1',
        'HG1473_PATCH': 'NW_004070865.1',
        'HG999_1_PATCH': 'NW_003315903.1',
        'HG999_2_PATCH': 'NW_003315904.1',
        'HSCHR2_1_CTG1': 'NW_003315908.1',
        'HG953_PATCH': 'NW_004504299.1',
        'HG686_PATCH': 'NW_003571032.1',
        'HSCHR2_2_CTG12': 'NW_003571033.2',
        'HSCHR2_1_CTG12': 'NW_003315909.1',
        'HG1007_PATCH': 'NW_003571031.1',
        'HSCHR3_1_CTG1': 'NW_003871060.1',
        'HG325_PATCH': 'NW_003871059.1',
        'HG186_PATCH': 'NW_003315910.1',
        'HG957_PATCH': 'NW_004775426.1',
        'HG280_PATCH': 'NW_003315911.1',
        'HG1091_PATCH': 'NW_003871058.1',
        'HG991_PATCH': 'NW_003315912.1',
        'HSCHR3_1_CTG2_1': 'NW_003315913.1',
        'HG174_HG254_PATCH': 'NW_004775427.1',
        'HSCHR4_1_CTG6': 'NW_003315915.1',
        'HSCHR4_2_CTG9': 'NW_003315916.1',
        'HG706_PATCH': 'NW_003571035.1',
        'HSCHR4_1_CTG12': 'NW_003315914.1',
        'HG1032_PATCH': 'NW_003571034.1',
        'HSCHR5_2_CTG1': 'NW_003315920.1',
        'HSCHR5_3_CTG1': 'NW_003571036.1',
        'HSCHR5_1_CTG1': 'NW_003315917.2',
        'HSCHR5_1_CTG2': 'NW_003315918.1',
        'HG1063_PATCH': 'NW_003871061.1',
        'HG1082_HG167_PATCH': 'NW_004775428.1',
        'HSCHR5_1_CTG5': 'NW_003315919.1',
        'HG27_PATCH': 'NW_004070866.1',
        'HG1322_PATCH': 'NW_003871063.1',
        'HSCHR6_1_CTG5': 'NW_003315921.1',
        'HG357_PATCH': 'NW_004504300.1',
        'HG1304_PATCH': 'NW_003871062.1',
        'HG193_PATCH': 'NW_004775429.1',
        'HSCHR6_2_CTG5': 'NW_004166862.1',
        'HG736_PATCH': 'NW_003571039.1',
        'HG14_PATCH': 'NW_003571038.1',
        'HG444_PATCH': 'NW_004775430.1',
        'HG1257_PATCH': 'NW_003871064.1',
        'HG946_PATCH': 'NW_003571041.1',
        'HG115_PATCH': 'NW_003571037.1',
        'HG1308_PATCH': 'NW_003871065.1',
        'HSCHR7_1_CTG6': 'NW_003315922.2',
        'HG7_PATCH': 'NW_003571040.1',
        'HG19_PATCH': 'NW_003571042.1',
        'HG1699_PATCH': 'NW_004775431.1',
        'HG418_PATCH': 'NW_003871066.2',
        'HG104_HG975_PATCH': 'NW_003315923.1',
        'HG243_PATCH': 'NW_003315924.1',
        'HSCHR9_1_CTG1': 'NW_003315928.1',
        'HG962_PATCH': 'NW_003871067.1',
        'HSCHR9_1_CTG35': 'NW_003315929.1',
        'HSCHR9_2_CTG35': 'NW_003315930.1',
        'HSCHR9_3_CTG35': 'NW_003315931.1',
        'HG50_PATCH': 'NW_004504301.1',
        'HG1502_PATCH': 'NW_004070869.1',
        'HG79_PATCH': 'NW_003315925.1',
        'HG1500_PATCH': 'NW_004070867.1',
        'HG1501_PATCH': 'NW_004070868.1',
        'HG998_1_PATCH': 'NW_003315926.1',
        'HG998_2_PATCH': 'NW_003315927.1',
        'HG905_PATCH': 'NW_003571043.1',
        'HG871_PATCH': 'NW_003871071.1',
        'HG544_PATCH': 'NW_003315932.1',
        'HSCHR10_1_CTG2': 'NW_003315934.1',
        'HSCHR10_1_CTG5': 'NW_003315935.1',
        'HG1211_PATCH': 'NW_003871068.1',
        'HG1074_PATCH': 'NW_004504302.1',
        'HG339_PATCH': 'NW_003871070.1',
        'HG979_PATCH': 'NW_004775432.1',
        'HG311_PATCH': 'NW_003871069.1',
        'HG995_PATCH': 'NW_003315933.1',
        'HG1479_PATCH': 'NW_004070870.1',
        'HG256_PATCH': 'NW_003871075.1',
        'HG873_PATCH': 'NW_003871082.1',
        'HSCHR11_1_CTG1_1': 'NW_003315936.1',
        'HG281_PATCH': 'NW_003571045.1',
        'HG142_HG150_NOVEL_TEST': 'NW_003871073.1',
        'HG151_NOVEL_TEST': 'NW_003871074.1',
        'HG536_PATCH': 'NW_003571046.1',
        'HG865_PATCH': 'NW_004070871.1',
        'HG414_PATCH': 'NW_003871081.1',
        'HG348_PATCH': 'NW_003871079.1',
        'HG305_PATCH': 'NW_003871077.1',
        'HG388_HG400_PATCH': 'NW_003871080.1',
        'HG306_PATCH': 'NW_003871078.1',
        'HG122_PATCH': 'NW_003871072.2',
        'HG299_PATCH': 'NW_003871076.1',
        'HG858_PATCH': 'NW_003571048.1',
        'HSCHR12_1_CTG1': 'NW_003571049.1',
        'HG344_PATCH': 'NW_003871083.2',
        'HG1133_PATCH': 'NW_003571047.1',
        'HSCHR12_2_CTG2': 'NW_003571050.1',
        'HSCHR12_1_CTG2': 'NW_003315938.1',
        'HSCHR12_1_CTG2_1': 'NW_003315939.1',
        'HSCHR12_2_CTG2_1': 'NW_003315941.1',
        'HSCHR12_3_CTG2_1': 'NW_003315942.2',
        'HG1595_PATCH': 'NW_004504303.2',
        'HSCHR12_1_CTG5': 'NW_003315940.1',
        'HG996_PATCH': 'NW_003315937.1',
        'HG531_PATCH': 'NW_003571051.1',
        'HG1592_PATCH': 'NW_004166863.1',
        'HSCHR15_1_CTG4': 'NW_003315943.1',
        'HSCHR15_1_CTG8': 'NW_003315944.1',
        'HG971_PATCH': 'NW_003871084.1',
        'HSCHR16_1_CTG3_1': 'NW_003315945.1',
        'HG1208_PATCH': 'NW_003871085.1',
        'HSCHR16_2_CTG3_1': 'NW_003315946.1',
        'HG417_PATCH': 'NW_004070872.2',
        'HSCHR17_1_CTG1': 'NW_003315952.2',
        'HG990_PATCH': 'NW_003315951.1',
        'HG987_PATCH': 'NW_003315950.2',
        'HG1591_PATCH': 'NW_004775433.1',
        'HG883_PATCH': 'NW_003871090.1',
        'HG385_PATCH': 'NW_004166864.2',
        'HG75_PATCH': 'NW_003315949.1',
        'HG745_PATCH': 'NW_003315948.2',
        'HSCHR17_4_CTG4': 'NW_003871091.1',
        'HSCHR17_6_CTG4': 'NW_003871093.1',
        'HSCHR17_5_CTG4': 'NW_003871092.1',
        'HSCHR17_1_CTG4': 'NW_003315953.1',
        'HG185_PATCH': 'NW_003571052.1',
        'HG1146_PATCH': 'NW_003871086.1',
        'HG183_PATCH': 'NW_003315947.1',
        'HG747_PATCH': 'NW_003871088.1',
        'HSCHR17_2_CTG4': 'NW_003315954.1',
        'HSCHR17_3_CTG4': 'NW_003315955.1',
        'HG748_PATCH': 'NW_003871089.1',
        'HG271_PATCH': 'NW_003871087.1',
        'HSCHR18_1_CTG1_1': 'NW_003315956.1',
        'HSCHR18_2_CTG1_1': 'NW_003315959.1',
        'HSCHR18_2_CTG2': 'NW_003315960.1',
        'HSCHR18_1_CTG2': 'NW_003315957.1',
        'HSCHR18_1_CTG2_1': 'NW_003315958.1',
        'HSCHR18_2_CTG2_1': 'NW_003315961.1',
        'HG729_PATCH': 'NW_003871094.1',
        'HG730_PATCH': 'NW_003571053.2',
        'HSCHR19_1_CTG3': 'NW_003315962.1',
        'HSCHR19_2_CTG3': 'NW_003315964.2',
        'HSCHR19_3_CTG3': 'NW_003315965.1',
        'HSCHR19_1_CTG3_1': 'NW_003315963.1',
        'HG1350_HG959_PATCH': 'NW_004775434.1',
        'HG1079_PATCH': 'NW_004166865.1',
        'HSCHR19LRC_COX1_CTG1': 'NW_003571054.1',
        'HSCHR19LRC_COX2_CTG1': 'NW_003571055.1',
        'HSCHR19LRC_LRC_I_CTG1': 'NW_003571056.1',
        'HSCHR19LRC_LRC_J_CTG1': 'NW_003571057.1',
        'HSCHR19LRC_LRC_S_CTG1': 'NW_003571058.1',
        'HSCHR19LRC_LRC_T_CTG1': 'NW_003571059.1',
        'HSCHR19LRC_PGF1_CTG1': 'NW_003571060.1',
        'HSCHR19LRC_PGF2_CTG1': 'NW_003571061.1',
        'HSCHR20_1_CTG1': 'NW_003315966.1',
        'HG144_PATCH': 'NW_003871095.1',
        'HG944_PATCH': 'NW_004504304.1',
        'HG506_HG507_HG1000_PATCH': 'NW_003571063.2',
        'HSCHR21_1_CTG1_1': 'NW_003315967.1',
        'HSCHR21_2_CTG1_1': 'NW_003315968.1',
        'HSCHR21_3_CTG1_1': 'NW_003315969.1',
        'HSCHR21_4_CTG1_1': 'NW_003315970.1',
        'HG237_PATCH': 'NW_004775435.1',
        'HG1487_PATCH': 'NW_004070874.1',
        'HG1486_PATCH': 'NW_004070873.1',
        'HG1488_PATCH': 'NW_004070875.1',
        'HG329_PATCH': 'NW_003871096.1',
        'HSCHR22_1_CTG2': 'NW_003315972.1',
        'HSCHR22_1_CTG1': 'NW_003315971.2',
        'HSCHR22_2_CTG1': 'NW_004504305.1',
        'HG497_PATCH': 'NW_004070876.1',
        'HG480_HG481_PATCH': 'NW_003571064.2',
        'HG1423_PATCH': 'NW_003871098.1',
        'HG1424_PATCH': 'NW_003871099.1',
        'HG1435_PATCH': 'NW_004070879.1',
        'HG29_PATCH': 'NW_004166866.1',
        'HG1436_HG1432_PATCH': 'NW_004070880.2',
        'HG1433_PATCH': 'NW_004070877.1',
        'HG1437_PATCH': 'NW_004070881.1',
        'HG1438_PATCH': 'NW_004070882.1',
        'HG1425_PATCH': 'NW_003871100.1',
        'HG1426_PATCH': 'NW_003871101.3',
        'HG1439_PATCH': 'NW_004070883.1',
        'HG1440_PATCH': 'NW_004070884.1',
        'HG1441_PATCH': 'NW_004070885.1',
        'HG375_PATCH': 'NW_003871102.1',
        'HG1434_PATCH': 'NW_004070878.1',
        'HG1462_PATCH': 'NW_004070891.1',
        'HG1463_PATCH': 'NW_004070892.1',
        'HG1490_PATCH': 'NW_004070893.1',
        'HG1442_PATCH': 'NW_004070886.1',
        'HG1443_HG1444_PATCH': 'NW_004070887.1',
        'HG1453_PATCH': 'NW_004070888.1',
        'HG1458_PATCH': 'NW_004070889.1',
        'HG1459_PATCH': 'NW_004070890.2',
        'HG1497_PATCH': 'NW_003871103.3',
        'HSCHR6_MHC_APD': 'NT_167244.1',
        'HSCHR6_MHC_COX': 'NT_113891.2',
        'HSCHR6_MHC_DBB': 'NT_167245.1',
        'HSCHR6_MHC_MANN': 'NT_167246.1', # Should be HSCHR6_MHC_MANN_CTG1!
        'HSCHR6_MHC_MCF': 'NT_167247.1',
        'HSCHR6_MHC_QBL': 'NT_167248.1',
        'HSCHR6_MHC_SSTO': 'NT_167249.1',
        'HSCHR4_1_CTG9': 'NT_167250.1',
        'HSCHR17_1_CTG5': 'NT_167251.1'
    }

    hg19 = {
        "1": "NC_000001.10",
        "2": "NC_000002.11",
        "3": "NC_000003.11",
        "4": "NC_000004.11",
        "5": "NC_000005.9",
        "6": "NC_000006.11",
        "7": "NC_000007.13",
        "8": "NC_000008.10",
        "9": "NC_000009.11",
        "10": "NC_000010.10",
        "11": "NC_000011.9",
        "12": "NC_000012.11",
        "13": "NC_000013.10",
        "14": "NC_000014.8",
        "15": "NC_000015.9",
        "16": "NC_000016.9",
        "17": "NC_000017.10",
        "18": "NC_000018.9",
        "19": "NC_000019.9",
        "20": "NC_000020.10",
        "21": "NC_000021.8",
        "22": "NC_000022.10",
        "23": "NC_000023.10",
        "24": "NC_000024.9",
        "x": "NC_000023.10",
        "y": "NC_000024.9",
        "X": "NC_000023.10",
        "Y": "NC_000024.9",
        "M": "NC_001807.4",
        "m": "NC_001807.4",

        # UCSC alts
        "11_GL000202_RANDOM": "NT_113921.2",
        "17_CTG5_HAP1": "NT_167251.1",
        "17_GL000203_RANDOM": "NT_113941.1",
        "17_GL000204_RANDOM": "NT_113943.1",
        "17_GL000205_RANDOM": "NT_113930.1",
        "17_GL000206_RANDOM": "NT_113945.1",
        "18_GL000207_RANDOM": "NT_113947.1",
        "19_GL000208_RANDOM": "NT_113948.1",
        "19_GL000209_RANDOM": "NT_113949.1",
        "1_GL000191_RANDOM": "NT_113878.1",
        "1_GL000192_RANDOM": "NT_167207.1",
        "21_GL000210_RANDOM": "NT_113950.2",
        "4_CTG9_HAP1": "NT_167250.1",
        "4_GL000193_RANDOM": "NT_113885.1",
        "4_GL000194_RANDOM": "NT_113888.1",
        "6_APD_HAP1": "NT_167244.1",
        "6_COX_HAP2": "NT_113891.2",
        "6_DBB_HAP3": "NT_167245.1",
        "6_MANN_HAP4": "NT_167246.1",
        "6_MCF_HAP5": "NT_167247.1",
        "6_QBL_HAP6": "NT_167248.1",
        "6_SSTO_HAP7": "NT_167249.1",
        "7_GL000195_RANDOM": "NT_113901.1",
        "8_GL000196_RANDOM": "NT_113909.1",
        "8_GL000197_RANDOM": "NT_113907.1",
        "9_GL000198_RANDOM": "NT_113914.1",
        "9_GL000199_RANDOM": "NT_113916.2",
        "9_GL000200_RANDOM": "NT_113915.1",
        "9_GL000201_RANDOM": "NT_113911.1",
        "UN_GL000211": "NT_113961.1",
        "UN_GL000212": "NT_113923.1",
        "UN_GL000213": "NT_167208.1",
        "UN_GL000214": "NT_167209.1",
        "UN_GL000215": "NT_167210.1",
        "UN_GL000216": "NT_167211.1",
        "UN_GL000217": "NT_167212.1",
        "UN_GL000218": "NT_113889.1",
        "UN_GL000219": "NT_167213.1",
        "UN_GL000220": "NT_167214.1",
        "UN_GL000221": "NT_167215.1",
        "UN_GL000222": "NT_167216.1",
        "UN_GL000223": "NT_167217.1",
        "UN_GL000224": "NT_167218.1",
        "UN_GL000225": "NT_167219.1",
        "UN_GL000226": "NT_167220.1",
        "UN_GL000227": "NT_167221.1",
        "UN_GL000228": "NT_167222.1",
        "UN_GL000229": "NT_167223.1",
        "UN_GL000230": "NT_167224.1",
        "UN_GL000231": "NT_167225.1",
        "UN_GL000232": "NT_167226.1",
        "UN_GL000233": "NT_167227.1",
        "UN_GL000234": "NT_167228.1",
        "UN_GL000235": "NT_167229.1",
        "UN_GL000236": "NT_167230.1",
        "UN_GL000237": "NT_167231.1",
        "UN_GL000238": "NT_167232.1",
        "UN_GL000239": "NT_167233.1",
        "UN_GL000240": "NT_167234.1",
        "UN_GL000241": "NT_167235.1",
        "UN_GL000242": "NT_167236.1",
        "UN_GL000243": "NT_167237.1",
        "UN_GL000244": "NT_167238.1",
        "UN_GL000245": "NT_167239.1",
        "UN_GL000246": "NT_167240.1",
        "UN_GL000247": "NT_167241.1",
        "UN_GL000248": "NT_167242.1",
        "UN_GL000249": "NT_167243.1",

        # GRC Alts
        'HG1472_PATCH': 'NW_004070864.2',
        'HG989_PATCH': 'NW_003571030.1',
        'HG1292_PATCH': 'NW_003871056.3',
        'HG1287_PATCH': 'NW_003871055.3',
        'HSCHR1_1_CTG31': 'NW_003315905.1',
        'HSCHR1_2_CTG31': 'NW_003315906.1',
        'HSCHR1_3_CTG31': 'NW_003315907.1',
        'HG1471_PATCH': 'NW_004070863.1',
        'HG1293_PATCH': 'NW_003871057.1',
        'HG1473_PATCH': 'NW_004070865.1',
        'HG999_1_PATCH': 'NW_003315903.1',
        'HG999_2_PATCH': 'NW_003315904.1',
        'HSCHR2_1_CTG1': 'NW_003315908.1',
        'HG953_PATCH': 'NW_004504299.1',
        'HG686_PATCH': 'NW_003571032.1',
        'HSCHR2_2_CTG12': 'NW_003571033.2',
        'HSCHR2_1_CTG12': 'NW_003315909.1',
        'HG1007_PATCH': 'NW_003571031.1',
        'HSCHR3_1_CTG1': 'NW_003871060.1',
        'HG325_PATCH': 'NW_003871059.1',
        'HG186_PATCH': 'NW_003315910.1',
        'HG957_PATCH': 'NW_004775426.1',
        'HG280_PATCH': 'NW_003315911.1',
        'HG1091_PATCH': 'NW_003871058.1',
        'HG991_PATCH': 'NW_003315912.1',
        'HSCHR3_1_CTG2_1': 'NW_003315913.1',
        'HG174_HG254_PATCH': 'NW_004775427.1',
        'HSCHR4_1_CTG6': 'NW_003315915.1',
        'HSCHR4_2_CTG9': 'NW_003315916.1',
        'HG706_PATCH': 'NW_003571035.1',
        'HSCHR4_1_CTG12': 'NW_003315914.1',
        'HG1032_PATCH': 'NW_003571034.1',
        'HSCHR5_2_CTG1': 'NW_003315920.1',
        'HSCHR5_3_CTG1': 'NW_003571036.1',
        'HSCHR5_1_CTG1': 'NW_003315917.2',
        'HSCHR5_1_CTG2': 'NW_003315918.1',
        'HG1063_PATCH': 'NW_003871061.1',
        'HG1082_HG167_PATCH': 'NW_004775428.1',
        'HSCHR5_1_CTG5': 'NW_003315919.1',
        'HG27_PATCH': 'NW_004070866.1',
        'HG1322_PATCH': 'NW_003871063.1',
        'HSCHR6_1_CTG5': 'NW_003315921.1',
        'HG357_PATCH': 'NW_004504300.1',
        'HG1304_PATCH': 'NW_003871062.1',
        'HG193_PATCH': 'NW_004775429.1',
        'HSCHR6_2_CTG5': 'NW_004166862.1',
        'HG736_PATCH': 'NW_003571039.1',
        'HG14_PATCH': 'NW_003571038.1',
        'HG444_PATCH': 'NW_004775430.1',
        'HG1257_PATCH': 'NW_003871064.1',
        'HG946_PATCH': 'NW_003571041.1',
        'HG115_PATCH': 'NW_003571037.1',
        'HG1308_PATCH': 'NW_003871065.1',
        'HSCHR7_1_CTG6': 'NW_003315922.2',
        'HG7_PATCH': 'NW_003571040.1',
        'HG19_PATCH': 'NW_003571042.1',
        'HG1699_PATCH': 'NW_004775431.1',
        'HG418_PATCH': 'NW_003871066.2',
        'HG104_HG975_PATCH': 'NW_003315923.1',
        'HG243_PATCH': 'NW_003315924.1',
        'HSCHR9_1_CTG1': 'NW_003315928.1',
        'HG962_PATCH': 'NW_003871067.1',
        'HSCHR9_1_CTG35': 'NW_003315929.1',
        'HSCHR9_2_CTG35': 'NW_003315930.1',
        'HSCHR9_3_CTG35': 'NW_003315931.1',
        'HG50_PATCH': 'NW_004504301.1',
        'HG1502_PATCH': 'NW_004070869.1',
        'HG79_PATCH': 'NW_003315925.1',
        'HG1500_PATCH': 'NW_004070867.1',
        'HG1501_PATCH': 'NW_004070868.1',
        'HG998_1_PATCH': 'NW_003315926.1',
        'HG998_2_PATCH': 'NW_003315927.1',
        'HG905_PATCH': 'NW_003571043.1',
        'HG871_PATCH': 'NW_003871071.1',
        'HG544_PATCH': 'NW_003315932.1',
        'HSCHR10_1_CTG2': 'NW_003315934.1',
        'HSCHR10_1_CTG5': 'NW_003315935.1',
        'HG1211_PATCH': 'NW_003871068.1',
        'HG1074_PATCH': 'NW_004504302.1',
        'HG339_PATCH': 'NW_003871070.1',
        'HG979_PATCH': 'NW_004775432.1',
        'HG311_PATCH': 'NW_003871069.1',
        'HG995_PATCH': 'NW_003315933.1',
        'HG1479_PATCH': 'NW_004070870.1',
        'HG256_PATCH': 'NW_003871075.1',
        'HG873_PATCH': 'NW_003871082.1',
        'HSCHR11_1_CTG1_1': 'NW_003315936.1',
        'HG281_PATCH': 'NW_003571045.1',
        'HG142_HG150_NOVEL_TEST': 'NW_003871073.1',
        'HG151_NOVEL_TEST': 'NW_003871074.1',
        'HG536_PATCH': 'NW_003571046.1',
        'HG865_PATCH': 'NW_004070871.1',
        'HG414_PATCH': 'NW_003871081.1',
        'HG348_PATCH': 'NW_003871079.1',
        'HG305_PATCH': 'NW_003871077.1',
        'HG388_HG400_PATCH': 'NW_003871080.1',
        'HG306_PATCH': 'NW_003871078.1',
        'HG122_PATCH': 'NW_003871072.2',
        'HG299_PATCH': 'NW_003871076.1',
        'HG858_PATCH': 'NW_003571048.1',
        'HSCHR12_1_CTG1': 'NW_003571049.1',
        'HG344_PATCH': 'NW_003871083.2',
        'HG1133_PATCH': 'NW_003571047.1',
        'HSCHR12_2_CTG2': 'NW_003571050.1',
        'HSCHR12_1_CTG2': 'NW_003315938.1',
        'HSCHR12_1_CTG2_1': 'NW_003315939.1',
        'HSCHR12_2_CTG2_1': 'NW_003315941.1',
        'HSCHR12_3_CTG2_1': 'NW_003315942.2',
        'HG1595_PATCH': 'NW_004504303.2',
        'HSCHR12_1_CTG5': 'NW_003315940.1',
        'HG996_PATCH': 'NW_003315937.1',
        'HG531_PATCH': 'NW_003571051.1',
        'HG1592_PATCH': 'NW_004166863.1',
        'HSCHR15_1_CTG4': 'NW_003315943.1',
        'HSCHR15_1_CTG8': 'NW_003315944.1',
        'HG971_PATCH': 'NW_003871084.1',
        'HSCHR16_1_CTG3_1': 'NW_003315945.1',
        'HG1208_PATCH': 'NW_003871085.1',
        'HSCHR16_2_CTG3_1': 'NW_003315946.1',
        'HG417_PATCH': 'NW_004070872.2',
        'HSCHR17_1_CTG1': 'NW_003315952.2',
        'HG990_PATCH': 'NW_003315951.1',
        'HG987_PATCH': 'NW_003315950.2',
        'HG1591_PATCH': 'NW_004775433.1',
        'HG883_PATCH': 'NW_003871090.1',
        'HG385_PATCH': 'NW_004166864.2',
        'HG75_PATCH': 'NW_003315949.1',
        'HG745_PATCH': 'NW_003315948.2',
        'HSCHR17_4_CTG4': 'NW_003871091.1',
        'HSCHR17_6_CTG4': 'NW_003871093.1',
        'HSCHR17_5_CTG4': 'NW_003871092.1',
        'HSCHR17_1_CTG4': 'NW_003315953.1',
        'HG185_PATCH': 'NW_003571052.1',
        'HG1146_PATCH': 'NW_003871086.1',
        'HG183_PATCH': 'NW_003315947.1',
        'HG747_PATCH': 'NW_003871088.1',
        'HSCHR17_2_CTG4': 'NW_003315954.1',
        'HSCHR17_3_CTG4': 'NW_003315955.1',
        'HG748_PATCH': 'NW_003871089.1',
        'HG271_PATCH': 'NW_003871087.1',
        'HSCHR18_1_CTG1_1': 'NW_003315956.1',
        'HSCHR18_2_CTG1_1': 'NW_003315959.1',
        'HSCHR18_2_CTG2': 'NW_003315960.1',
        'HSCHR18_1_CTG2': 'NW_003315957.1',
        'HSCHR18_1_CTG2_1': 'NW_003315958.1',
        'HSCHR18_2_CTG2_1': 'NW_003315961.1',
        'HG729_PATCH': 'NW_003871094.1',
        'HG730_PATCH': 'NW_003571053.2',
        'HSCHR19_1_CTG3': 'NW_003315962.1',
        'HSCHR19_2_CTG3': 'NW_003315964.2',
        'HSCHR19_3_CTG3': 'NW_003315965.1',
        'HSCHR19_1_CTG3_1': 'NW_003315963.1',
        'HG1350_HG959_PATCH': 'NW_004775434.1',
        'HG1079_PATCH': 'NW_004166865.1',
        'HSCHR19LRC_COX1_CTG1': 'NW_003571054.1',
        'HSCHR19LRC_COX2_CTG1': 'NW_003571055.1',
        'HSCHR19LRC_LRC_I_CTG1': 'NW_003571056.1',
        'HSCHR19LRC_LRC_J_CTG1': 'NW_003571057.1',
        'HSCHR19LRC_LRC_S_CTG1': 'NW_003571058.1',
        'HSCHR19LRC_LRC_T_CTG1': 'NW_003571059.1',
        'HSCHR19LRC_PGF1_CTG1': 'NW_003571060.1',
        'HSCHR19LRC_PGF2_CTG1': 'NW_003571061.1',
        'HSCHR20_1_CTG1': 'NW_003315966.1',
        'HG144_PATCH': 'NW_003871095.1',
        'HG944_PATCH': 'NW_004504304.1',
        'HG506_HG507_HG1000_PATCH': 'NW_003571063.2',
        'HSCHR21_1_CTG1_1': 'NW_003315967.1',
        'HSCHR21_2_CTG1_1': 'NW_003315968.1',
        'HSCHR21_3_CTG1_1': 'NW_003315969.1',
        'HSCHR21_4_CTG1_1': 'NW_003315970.1',
        'HG237_PATCH': 'NW_004775435.1',
        'HG1487_PATCH': 'NW_004070874.1',
        'HG1486_PATCH': 'NW_004070873.1',
        'HG1488_PATCH': 'NW_004070875.1',
        'HG329_PATCH': 'NW_003871096.1',
        'HSCHR22_1_CTG2': 'NW_003315972.1',
        'HSCHR22_1_CTG1': 'NW_003315971.2',
        'HSCHR22_2_CTG1': 'NW_004504305.1',
        'HG497_PATCH': 'NW_004070876.1',
        'HG480_HG481_PATCH': 'NW_003571064.2',
        'HG1423_PATCH': 'NW_003871098.1',
        'HG1424_PATCH': 'NW_003871099.1',
        'HG1435_PATCH': 'NW_004070879.1',
        'HG29_PATCH': 'NW_004166866.1',
        'HG1436_HG1432_PATCH': 'NW_004070880.2',
        'HG1433_PATCH': 'NW_004070877.1',
        'HG1437_PATCH': 'NW_004070881.1',
        'HG1438_PATCH': 'NW_004070882.1',
        'HG1425_PATCH': 'NW_003871100.1',
        'HG1426_PATCH': 'NW_003871101.3',
        'HG1439_PATCH': 'NW_004070883.1',
        'HG1440_PATCH': 'NW_004070884.1',
        'HG1441_PATCH': 'NW_004070885.1',
        'HG375_PATCH': 'NW_003871102.1',
        'HG1434_PATCH': 'NW_004070878.1',
        'HG1462_PATCH': 'NW_004070891.1',
        'HG1463_PATCH': 'NW_004070892.1',
        'HG1490_PATCH': 'NW_004070893.1',
        'HG1442_PATCH': 'NW_004070886.1',
        'HG1443_HG1444_PATCH': 'NW_004070887.1',
        'HG1453_PATCH': 'NW_004070888.1',
        'HG1458_PATCH': 'NW_004070889.1',
        'HG1459_PATCH': 'NW_004070890.2',
        'HG1497_PATCH': 'NW_003871103.3',
        'HSCHR6_MHC_APD': 'NT_167244.1',
        'HSCHR6_MHC_COX': 'NT_113891.2',
        'HSCHR6_MHC_DBB': 'NT_167245.1',
        'HSCHR6_MHC_MANN': 'NT_167246.1', # Should be HSCHR6_MHC_MANN_CTG1
        'HSCHR6_MHC_MCF': 'NT_167247.1',
        'HSCHR6_MHC_QBL': 'NT_167248.1',
        'HSCHR6_MHC_SSTO': 'NT_167249.1',
        'HSCHR4_1_CTG9': 'NT_167250.1',
        'HSCHR17_1_CTG5': 'NT_167251.1'
    }

    GRCh38 = {
        "1": "NC_000001.11",
        "2": "NC_000002.12",
        "3": "NC_000003.12",
        "4": "NC_000004.12",
        "5": "NC_000005.10",
        "6": "NC_000006.12",
        "7": "NC_000007.14",
        "8": "NC_000008.11",
        "9": "NC_000009.12",
        "10": "NC_000010.11",
        "11": "NC_000011.10",
        "12": "NC_000012.12",
        "13": "NC_000013.11",
        "14": "NC_000014.9",
        "15": "NC_000015.10",
        "16": "NC_000016.10",
        "17": "NC_000017.11",
        "18": "NC_000018.10",
        "19": "NC_000019.10",
        "20": "NC_000020.11",
        "21": "NC_000021.9",
        "22": "NC_000022.11",
        "23": "NC_000023.11",
        "24": "NC_000024.10",
        "x": "NC_000023.11",
        "y": "NC_000024.10",
        "X": "NC_000023.11",
        "Y": "NC_000024.10",
        "M": "NC_012920.1",
        "m": "NC_012920.1",

        # UCSC Alts
        "10_GL383545V1_ALT": "NW_003315934.1",
        "10_GL383546V1_ALT": "NW_003315935.1",
        "10_KI270824V1_ALT": "NT_187579.1",
        "10_KI270825V1_ALT": "NT_187580.1",
        "11_GL383547V1_ALT": "NW_003315936.1",
        "11_JH159136V1_ALT": "NW_003871073.1",
        "11_JH159137V1_ALT": "NW_003871074.1",
        "11_KI270721V1_RANDOM": "NT_187376.1",
        "11_KI270826V1_ALT": "NT_187581.1",
        "11_KI270827V1_ALT": "NT_187582.1",
        "11_KI270829V1_ALT": "NT_187583.1",
        "11_KI270830V1_ALT": "NT_187584.1",
        "11_KI270831V1_ALT": "NT_187585.1",
        "11_KI270832V1_ALT": "NT_187586.1",
        "11_KI270902V1_ALT": "NT_187656.1",
        "11_KI270903V1_ALT": "NT_187657.1",
        "11_KI270927V1_ALT": "NT_187681.1",
        "12_GL383549V1_ALT": "NW_003315938.1",
        "12_GL383550V2_ALT": "NW_003315939.2",
        "12_GL383551V1_ALT": "NW_003315940.1",
        "12_GL383552V1_ALT": "NW_003315941.1",
        "12_GL383553V2_ALT": "NW_003315942.2",
        "12_GL877875V1_ALT": "NW_003571049.1",
        "12_GL877876V1_ALT": "NW_003571050.1",
        "12_KI270833V1_ALT": "NT_187589.1",
        "12_KI270834V1_ALT": "NT_187590.1",
        "12_KI270835V1_ALT": "NT_187587.1",
        "12_KI270836V1_ALT": "NT_187591.1",
        "12_KI270837V1_ALT": "NT_187588.1",
        "12_KI270904V1_ALT": "NT_187658.1",
        "13_KI270838V1_ALT": "NT_187592.1",
        "13_KI270839V1_ALT": "NT_187593.1",
        "13_KI270840V1_ALT": "NT_187594.1",
        "13_KI270841V1_ALT": "NT_187595.1",
        "13_KI270842V1_ALT": "NT_187596.1",
        "13_KI270843V1_ALT": "NT_187597.1",
        "14_GL000009V2_RANDOM": "NT_113796.3",
        "14_GL000194V1_RANDOM": "NT_113888.1",
        "14_GL000225V1_RANDOM": "NT_167219.1",
        "14_KI270722V1_RANDOM": "NT_187377.1",
        "14_KI270723V1_RANDOM": "NT_187378.1",
        "14_KI270724V1_RANDOM": "NT_187379.1",
        "14_KI270725V1_RANDOM": "NT_187380.1",
        "14_KI270726V1_RANDOM": "NT_187381.1",
        "14_KI270844V1_ALT": "NT_187598.1",
        "14_KI270845V1_ALT": "NT_187599.1",
        "14_KI270846V1_ALT": "NT_187600.1",
        "14_KI270847V1_ALT": "NT_187601.1",
        "15_GL383554V1_ALT": "NW_003315943.1",
        "15_GL383555V2_ALT": "NW_003315944.2",
        "15_KI270727V1_RANDOM": "NT_187382.1",
        "15_KI270848V1_ALT": "NT_187603.1",
        "15_KI270849V1_ALT": "NT_187605.1",
        "15_KI270850V1_ALT": "NT_187606.1",
        "15_KI270851V1_ALT": "NT_187604.1",
        "15_KI270852V1_ALT": "NT_187602.1",
        "15_KI270905V1_ALT": "NT_187660.1",
        "15_KI270906V1_ALT": "NT_187659.1",
        "16_GL383556V1_ALT": "NW_003315945.1",
        "16_GL383557V1_ALT": "NW_003315946.1",
        "16_KI270728V1_RANDOM": "NT_187383.1",
        "16_KI270853V1_ALT": "NT_187607.1",
        "16_KI270854V1_ALT": "NT_187610.1",
        "16_KI270855V1_ALT": "NT_187608.1",
        "16_KI270856V1_ALT": "NT_187609.1",
        "17_GL000205V2_RANDOM": "NT_113930.2",
        "17_GL000258V2_ALT": "NT_167251.2",
        "17_GL383563V3_ALT": "NW_003315952.3",
        "17_GL383564V2_ALT": "NW_003315953.2",
        "17_GL383565V1_ALT": "NW_003315954.1",
        "17_GL383566V1_ALT": "NW_003315955.1",
        "17_JH159146V1_ALT": "NW_003871091.1",
        "17_JH159147V1_ALT": "NW_003871092.1",
        "17_JH159148V1_ALT": "NW_003871093.1",
        "17_KI270729V1_RANDOM": "NT_187384.1",
        "17_KI270730V1_RANDOM": "NT_187385.1",
        "17_KI270857V1_ALT": "NT_187614.1",
        "17_KI270858V1_ALT": "NT_187615.1",
        "17_KI270859V1_ALT": "NT_187616.1",
        "17_KI270860V1_ALT": "NT_187612.1",
        "17_KI270861V1_ALT": "NT_187611.1",
        "17_KI270862V1_ALT": "NT_187613.1",
        "17_KI270907V1_ALT": "NT_187662.1",
        "17_KI270908V1_ALT": "NT_187663.1",
        "17_KI270909V1_ALT": "NT_187661.1",
        "17_KI270910V1_ALT": "NT_187664.1",
        "18_GL383567V1_ALT": "NW_003315956.1",
        "18_GL383568V1_ALT": "NW_003315957.1",
        "18_GL383569V1_ALT": "NW_003315958.1",
        "18_GL383570V1_ALT": "NW_003315959.1",
        "18_GL383571V1_ALT": "NW_003315960.1",
        "18_GL383572V1_ALT": "NW_003315961.1",
        "18_KI270863V1_ALT": "NT_187617.1",
        "18_KI270864V1_ALT": "NT_187618.1",
        "18_KI270911V1_ALT": "NT_187666.1",
        "18_KI270912V1_ALT": "NT_187665.1",
        "19_GL000209V2_ALT": "NT_113949.2",
        "19_GL383573V1_ALT": "NW_003315962.1",
        "19_GL383574V1_ALT": "NW_003315963.1",
        "19_GL383575V2_ALT": "NW_003315964.2",
        "19_GL383576V1_ALT": "NW_003315965.1",
        "19_GL949746V1_ALT": "NW_003571054.1",
        "19_GL949747V2_ALT": "NW_003571055.2",
        "19_GL949748V2_ALT": "NW_003571056.2",
        "19_GL949749V2_ALT": "NW_003571057.2",
        "19_GL949750V2_ALT": "NW_003571058.2",
        "19_GL949751V2_ALT": "NW_003571059.2",
        "19_GL949752V1_ALT": "NW_003571060.1",
        "19_GL949753V2_ALT": "NW_003571061.2",
        "19_KI270865V1_ALT": "NT_187621.1",
        "19_KI270866V1_ALT": "NT_187619.1",
        "19_KI270867V1_ALT": "NT_187620.1",
        "19_KI270868V1_ALT": "NT_187622.1",
        "19_KI270882V1_ALT": "NT_187636.1",
        "19_KI270883V1_ALT": "NT_187637.1",
        "19_KI270884V1_ALT": "NT_187638.1",
        "19_KI270885V1_ALT": "NT_187639.1",
        "19_KI270886V1_ALT": "NT_187640.1",
        "19_KI270887V1_ALT": "NT_187641.1",
        "19_KI270888V1_ALT": "NT_187642.1",
        "19_KI270889V1_ALT": "NT_187643.1",
        "19_KI270890V1_ALT": "NT_187644.1",
        "19_KI270891V1_ALT": "NT_187645.1",
        "19_KI270914V1_ALT": "NT_187668.1",
        "19_KI270915V1_ALT": "NT_187669.1",
        "19_KI270916V1_ALT": "NT_187670.1",
        "19_KI270917V1_ALT": "NT_187671.1",
        "19_KI270918V1_ALT": "NT_187672.1",
        "19_KI270919V1_ALT": "NT_187673.1",
        "19_KI270920V1_ALT": "NT_187674.1",
        "19_KI270921V1_ALT": "NT_187675.1",
        "19_KI270922V1_ALT": "NT_187676.1",
        "19_KI270923V1_ALT": "NT_187677.1",
        "19_KI270929V1_ALT": "NT_187683.1",
        "19_KI270930V1_ALT": "NT_187684.1",
        "19_KI270931V1_ALT": "NT_187685.1",
        "19_KI270932V1_ALT": "NT_187686.1",
        "19_KI270933V1_ALT": "NT_187687.1",
        "19_KI270938V1_ALT": "NT_187693.1",
        "1_GL383518V1_ALT": "NW_003315905.1",
        "1_GL383519V1_ALT": "NW_003315906.1",
        "1_GL383520V2_ALT": "NW_003315907.2",
        "1_KI270706V1_RANDOM": "NT_187361.1",
        "1_KI270707V1_RANDOM": "NT_187362.1",
        "1_KI270708V1_RANDOM": "NT_187363.1",
        "1_KI270709V1_RANDOM": "NT_187364.1",
        "1_KI270710V1_RANDOM": "NT_187365.1",
        "1_KI270711V1_RANDOM": "NT_187366.1",
        "1_KI270712V1_RANDOM": "NT_187367.1",
        "1_KI270713V1_RANDOM": "NT_187368.1",
        "1_KI270714V1_RANDOM": "NT_187369.1",
        "1_KI270759V1_ALT": "NT_187516.1",
        "1_KI270760V1_ALT": "NT_187514.1",
        "1_KI270761V1_ALT": "NT_187518.1",
        "1_KI270762V1_ALT": "NT_187515.1",
        "1_KI270763V1_ALT": "NT_187519.1",
        "1_KI270764V1_ALT": "NT_187521.1",
        "1_KI270765V1_ALT": "NT_187520.1",
        "1_KI270766V1_ALT": "NT_187517.1",
        "1_KI270892V1_ALT": "NT_187646.1",
        "20_GL383577V2_ALT": "NW_003315966.2",
        "20_KI270869V1_ALT": "NT_187623.1",
        "20_KI270870V1_ALT": "NT_187624.1",
        "20_KI270871V1_ALT": "NT_187625.1",
        "21_GL383578V2_ALT": "NW_003315967.2",
        "21_GL383579V2_ALT": "NW_003315968.2",
        "21_GL383580V2_ALT": "NW_003315969.2",
        "21_GL383581V2_ALT": "NW_003315970.2",
        "21_KI270872V1_ALT": "NT_187626.1",
        "21_KI270873V1_ALT": "NT_187627.1",
        "21_KI270874V1_ALT": "NT_187628.1",
        "22_GL383582V2_ALT": "NW_003315971.2",
        "22_GL383583V2_ALT": "NW_003315972.2",
        "22_KB663609V1_ALT": "NW_004504305.1",
        "22_KI270731V1_RANDOM": "NT_187386.1",
        "22_KI270732V1_RANDOM": "NT_187387.1",
        "22_KI270733V1_RANDOM": "NT_187388.1",
        "22_KI270734V1_RANDOM": "NT_187389.1",
        "22_KI270735V1_RANDOM": "NT_187390.1",
        "22_KI270736V1_RANDOM": "NT_187391.1",
        "22_KI270737V1_RANDOM": "NT_187392.1",
        "22_KI270738V1_RANDOM": "NT_187393.1",
        "22_KI270739V1_RANDOM": "NT_187394.1",
        "22_KI270875V1_ALT": "NT_187629.1",
        "22_KI270876V1_ALT": "NT_187630.1",
        "22_KI270877V1_ALT": "NT_187631.1",
        "22_KI270878V1_ALT": "NT_187632.1",
        "22_KI270879V1_ALT": "NT_187633.1",
        "22_KI270928V1_ALT": "NT_187682.1",
        "2_GL383521V1_ALT": "NW_003315908.1",
        "2_GL383522V1_ALT": "NW_003315909.1",
        "2_GL582966V2_ALT": "NW_003571033.2",
        "2_KI270715V1_RANDOM": "NT_187370.1",
        "2_KI270716V1_RANDOM": "NT_187371.1",
        "2_KI270767V1_ALT": "NT_187523.1",
        "2_KI270768V1_ALT": "NT_187528.1",
        "2_KI270769V1_ALT": "NT_187522.1",
        "2_KI270770V1_ALT": "NT_187525.1",
        "2_KI270771V1_ALT": "NT_187530.1",
        "2_KI270772V1_ALT": "NT_187524.1",
        "2_KI270773V1_ALT": "NT_187526.1",
        "2_KI270774V1_ALT": "NT_187529.1",
        "2_KI270775V1_ALT": "NT_187531.1",
        "2_KI270776V1_ALT": "NT_187527.1",
        "2_KI270893V1_ALT": "NT_187647.1",
        "2_KI270894V1_ALT": "NT_187648.1",
        "3_GL000221V1_RANDOM": "NT_167215.1",
        "3_GL383526V1_ALT": "NW_003315913.1",
        "3_JH636055V2_ALT": "NW_003871060.2",
        "3_KI270777V1_ALT": "NT_187533.1",
        "3_KI270778V1_ALT": "NT_187536.1",
        "3_KI270779V1_ALT": "NT_187532.1",
        "3_KI270780V1_ALT": "NT_187537.1",
        "3_KI270781V1_ALT": "NT_187538.1",
        "3_KI270782V1_ALT": "NT_187534.1",
        "3_KI270783V1_ALT": "NT_187535.1",
        "3_KI270784V1_ALT": "NT_187539.1",
        "3_KI270895V1_ALT": "NT_187649.1",
        "3_KI270924V1_ALT": "NT_187678.1",
        "3_KI270934V1_ALT": "NT_187688.1",
        "3_KI270935V1_ALT": "NT_187689.1",
        "3_KI270936V1_ALT": "NT_187690.1",
        "3_KI270937V1_ALT": "NT_187691.1",
        "4_GL000008V2_RANDOM": "NT_113793.3",
        "4_GL000257V2_ALT": "NT_167250.2",
        "4_GL383527V1_ALT": "NW_003315914.1",
        "4_GL383528V1_ALT": "NW_003315915.1",
        "4_KI270785V1_ALT": "NT_187542.1",
        "4_KI270786V1_ALT": "NT_187543.1",
        "4_KI270787V1_ALT": "NT_187541.1",
        "4_KI270788V1_ALT": "NT_187544.1",
        "4_KI270789V1_ALT": "NT_187545.1",
        "4_KI270790V1_ALT": "NT_187540.1",
        "4_KI270896V1_ALT": "NT_187650.1",
        "4_KI270925V1_ALT": "NT_187679.1",
        "5_GL000208V1_RANDOM": "NT_113948.1",
        "5_GL339449V2_ALT": "NW_003315917.2",
        "5_GL383530V1_ALT": "NW_003315918.1",
        "5_GL383531V1_ALT": "NW_003315919.1",
        "5_GL383532V1_ALT": "NW_003315920.1",
        "5_GL949742V1_ALT": "NW_003571036.1",
        "5_KI270791V1_ALT": "NT_187547.1",
        "5_KI270792V1_ALT": "NT_187548.1",
        "5_KI270793V1_ALT": "NT_187550.1",
        "5_KI270794V1_ALT": "NT_187551.1",
        "5_KI270795V1_ALT": "NT_187546.1",
        "5_KI270796V1_ALT": "NT_187549.1",
        "5_KI270897V1_ALT": "NT_187651.1",
        "5_KI270898V1_ALT": "NT_187652.1",
        "6_GL000250V2_ALT": "NT_167244.2",
        "6_GL000251V2_ALT": "NT_113891.3",
        "6_GL000252V2_ALT": "NT_167245.2",
        "6_GL000253V2_ALT": "NT_167246.2",
        "6_GL000254V2_ALT": "NT_167247.2",
        "6_GL000255V2_ALT": "NT_167248.2",
        "6_GL000256V2_ALT": "NT_167249.2",
        "6_GL383533V1_ALT": "NW_003315921.1",
        "6_KB021644V2_ALT": "NW_004166862.2",
        "6_KI270758V1_ALT": "NT_187692.1",
        "6_KI270797V1_ALT": "NT_187552.1",
        "6_KI270798V1_ALT": "NT_187553.1",
        "6_KI270799V1_ALT": "NT_187554.1",
        "6_KI270800V1_ALT": "NT_187555.1",
        "6_KI270801V1_ALT": "NT_187556.1",
        "6_KI270802V1_ALT": "NT_187557.1",
        "7_GL383534V2_ALT": "NW_003315922.2",
        "7_KI270803V1_ALT": "NT_187562.1",
        "7_KI270804V1_ALT": "NT_187558.1",
        "7_KI270805V1_ALT": "NT_187560.1",
        "7_KI270806V1_ALT": "NT_187559.1",
        "7_KI270807V1_ALT": "NT_187563.1",
        "7_KI270808V1_ALT": "NT_187564.1",
        "7_KI270809V1_ALT": "NT_187561.1",
        "7_KI270899V1_ALT": "NT_187653.1",
        "8_KI270810V1_ALT": "NT_187567.1",
        "8_KI270811V1_ALT": "NT_187565.1",
        "8_KI270812V1_ALT": "NT_187568.1",
        "8_KI270813V1_ALT": "NT_187570.1",
        "8_KI270814V1_ALT": "NT_187566.1",
        "8_KI270815V1_ALT": "NT_187569.1",
        "8_KI270816V1_ALT": "NT_187571.1",
        "8_KI270817V1_ALT": "NT_187573.1",
        "8_KI270818V1_ALT": "NT_187572.1",
        "8_KI270819V1_ALT": "NT_187574.1",
        "8_KI270820V1_ALT": "NT_187575.1",
        "8_KI270821V1_ALT": "NT_187576.1",
        "8_KI270822V1_ALT": "NT_187577.1",
        "8_KI270900V1_ALT": "NT_187654.1",
        "8_KI270901V1_ALT": "NT_187655.1",
        "8_KI270926V1_ALT": "NT_187680.1",
        "9_GL383539V1_ALT": "NW_003315928.1",
        "9_GL383540V1_ALT": "NW_003315929.1",
        "9_GL383541V1_ALT": "NW_003315930.1",
        "9_GL383542V1_ALT": "NW_003315931.1",
        "9_KI270717V1_RANDOM": "NT_187372.1",
        "9_KI270718V1_RANDOM": "NT_187373.1",
        "9_KI270719V1_RANDOM": "NT_187374.1",
        "9_KI270720V1_RANDOM": "NT_187375.1",
        "9_KI270823V1_ALT": "NT_187578.1",
        "UN_GL000195V1": "NT_113901.1",
        "UN_GL000213V1": "NT_167208.1",
        "UN_GL000214V1": "NT_167209.1",
        "UN_GL000216V2": "NT_167211.2",
        "UN_GL000218V1": "NT_113889.1",
        "UN_GL000219V1": "NT_167213.1",
        "UN_GL000220V1": "NT_167214.1",
        "UN_GL000224V1": "NT_167218.1",
        "UN_GL000226V1": "NT_167220.1",
        "UN_KI270302V1": "NT_187396.1",
        "UN_KI270303V1": "NT_187398.1",
        "UN_KI270304V1": "NT_187397.1",
        "UN_KI270305V1": "NT_187399.1",
        "UN_KI270310V1": "NT_187402.1",
        "UN_KI270311V1": "NT_187406.1",
        "UN_KI270312V1": "NT_187405.1",
        "UN_KI270315V1": "NT_187404.1",
        "UN_KI270316V1": "NT_187403.1",
        "UN_KI270317V1": "NT_187407.1",
        "UN_KI270320V1": "NT_187401.1",
        "UN_KI270322V1": "NT_187400.1",
        "UN_KI270329V1": "NT_187459.1",
        "UN_KI270330V1": "NT_187458.1",
        "UN_KI270333V1": "NT_187461.1",
        "UN_KI270334V1": "NT_187460.1",
        "UN_KI270335V1": "NT_187462.1",
        "UN_KI270336V1": "NT_187465.1",
        "UN_KI270337V1": "NT_187466.1",
        "UN_KI270338V1": "NT_187463.1",
        "UN_KI270340V1": "NT_187464.1",
        "UN_KI270362V1": "NT_187469.1",
        "UN_KI270363V1": "NT_187467.1",
        "UN_KI270364V1": "NT_187468.1",
        "UN_KI270366V1": "NT_187470.1",
        "UN_KI270371V1": "NT_187494.1",
        "UN_KI270372V1": "NT_187491.1",
        "UN_KI270373V1": "NT_187492.1",
        "UN_KI270374V1": "NT_187490.1",
        "UN_KI270375V1": "NT_187493.1",
        "UN_KI270376V1": "NT_187489.1",
        "UN_KI270378V1": "NT_187471.1",
        "UN_KI270379V1": "NT_187472.1",
        "UN_KI270381V1": "NT_187486.1",
        "UN_KI270382V1": "NT_187488.1",
        "UN_KI270383V1": "NT_187482.1",
        "UN_KI270384V1": "NT_187484.1",
        "UN_KI270385V1": "NT_187487.1",
        "UN_KI270386V1": "NT_187480.1",
        "UN_KI270387V1": "NT_187475.1",
        "UN_KI270388V1": "NT_187478.1",
        "UN_KI270389V1": "NT_187473.1",
        "UN_KI270390V1": "NT_187474.1",
        "UN_KI270391V1": "NT_187481.1",
        "UN_KI270392V1": "NT_187485.1",
        "UN_KI270393V1": "NT_187483.1",
        "UN_KI270394V1": "NT_187479.1",
        "UN_KI270395V1": "NT_187476.1",
        "UN_KI270396V1": "NT_187477.1",
        "UN_KI270411V1": "NT_187409.1",
        "UN_KI270412V1": "NT_187408.1",
        "UN_KI270414V1": "NT_187410.1",
        "UN_KI270417V1": "NT_187415.1",
        "UN_KI270418V1": "NT_187412.1",
        "UN_KI270419V1": "NT_187411.1",
        "UN_KI270420V1": "NT_187413.1",
        "UN_KI270422V1": "NT_187416.1",
        "UN_KI270423V1": "NT_187417.1",
        "UN_KI270424V1": "NT_187414.1",
        "UN_KI270425V1": "NT_187418.1",
        "UN_KI270429V1": "NT_187419.1",
        "UN_KI270435V1": "NT_187424.1",
        "UN_KI270438V1": "NT_187425.1",
        "UN_KI270442V1": "NT_187420.1",
        "UN_KI270448V1": "NT_187495.1",
        "UN_KI270465V1": "NT_187422.1",
        "UN_KI270466V1": "NT_187421.1",
        "UN_KI270467V1": "NT_187423.1",
        "UN_KI270468V1": "NT_187426.1",
        "UN_KI270507V1": "NT_187437.1",
        "UN_KI270508V1": "NT_187430.1",
        "UN_KI270509V1": "NT_187428.1",
        "UN_KI270510V1": "NT_187427.1",
        "UN_KI270511V1": "NT_187435.1",
        "UN_KI270512V1": "NT_187432.1",
        "UN_KI270515V1": "NT_187436.1",
        "UN_KI270516V1": "NT_187431.1",
        "UN_KI270517V1": "NT_187438.1",
        "UN_KI270518V1": "NT_187429.1",
        "UN_KI270519V1": "NT_187433.1",
        "UN_KI270521V1": "NT_187496.1",
        "UN_KI270522V1": "NT_187434.1",
        "UN_KI270528V1": "NT_187440.1",
        "UN_KI270529V1": "NT_187439.1",
        "UN_KI270530V1": "NT_187441.1",
        "UN_KI270538V1": "NT_187443.1",
        "UN_KI270539V1": "NT_187442.1",
        "UN_KI270544V1": "NT_187444.1",
        "UN_KI270548V1": "NT_187445.1",
        "UN_KI270579V1": "NT_187450.1",
        "UN_KI270580V1": "NT_187448.1",
        "UN_KI270581V1": "NT_187449.1",
        "UN_KI270582V1": "NT_187454.1",
        "UN_KI270583V1": "NT_187446.1",
        "UN_KI270584V1": "NT_187453.1",
        "UN_KI270587V1": "NT_187447.1",
        "UN_KI270588V1": "NT_187455.1",
        "UN_KI270589V1": "NT_187451.1",
        "UN_KI270590V1": "NT_187452.1",
        "UN_KI270591V1": "NT_187457.1",
        "UN_KI270593V1": "NT_187456.1",
        "UN_KI270741V1": "NT_187497.1",
        "UN_KI270742V1": "NT_187513.1",
        "UN_KI270743V1": "NT_187498.1",
        "UN_KI270744V1": "NT_187499.1",
        "UN_KI270745V1": "NT_187500.1",
        "UN_KI270746V1": "NT_187501.1",
        "UN_KI270747V1": "NT_187502.1",
        "UN_KI270748V1": "NT_187503.1",
        "UN_KI270749V1": "NT_187504.1",
        "UN_KI270750V1": "NT_187505.1",
        "UN_KI270751V1": "NT_187506.1",
        "UN_KI270752V1": "NT_187507.1",
        "UN_KI270753V1": "NT_187508.1",
        "UN_KI270754V1": "NT_187509.1",
        "UN_KI270755V1": "NT_187510.1",
        "UN_KI270756V1": "NT_187511.1",
        "UN_KI270757V1": "NT_187512.1",
        "X_KI270880V1_ALT": "NT_187634.1",
        "X_KI270881V1_ALT": "NT_187635.1",
        "X_KI270913V1_ALT": "NT_187667.1",
        "Y_KI270740V1_RANDOM": "NT_187395.1",

        # GRC Alts
        'HG1342_HG2282_PATCH': 'NW_012132914.1',
        'HSCHR1_5_CTG3': 'NW_015495298.1',
        'HG2095_PATCH': 'NW_011332688.1',
        'HSCHR1_4_CTG3': 'NW_014040926.1',
        'HG2058_PATCH': 'NW_009646195.1',
        'HSCHR1_8_CTG3': 'NW_018654706.1',
        'HG460_PATCH': 'NW_019805487.1',
        'HG986_PATCH': 'NW_009646194.1',
        'HSCHR1_9_CTG3': 'NW_018654707.1',
        'HSCHR1_3_CTG3': 'NW_014040925.1',
        'HSCHR1_6_CTG3': 'NW_017852928.1',
        'HG2104_PATCH': 'NW_009646196.1',
        'HG1832_PATCH': 'NW_011332687.1',
        'HG2002_PATCH': 'NW_018654708.1',
        'HSCHR1_5_CTG32_1': 'NW_014040927.1',
        'HG2290_PATCH': 'NW_012132915.1',
        'HSCHR2_7_CTG7_2': 'NW_018654709.1',
        'HSCHR2_6_CTG7_2': 'NW_015495299.1',
        'HSCHR2_8_CTG7_2': 'NW_018654710.1',
        'HG2232_PATCH': 'NW_011332690.1',
        'HG2233_PATCH': 'NW_011332689.1',
        'HG2236_PATCH': 'NW_017363813.1',
        'HG2066_PATCH': 'NW_009646197.1',
        'HG2235_PATCH': 'NW_012132916.1',
        'HG126_PATCH': 'NW_011332691.1',
        'HSCHR3_4_CTG1': 'NW_018654711.1',
        'HG2237_PATCH': 'NW_012132917.1',
        'HG2022_PATCH': 'NW_009646198.1',
        'HG2133_PATCH': 'NW_019805491.1',
        'HSCHR3_6_CTG2_1': 'NW_019805492.1',
        'HSCHR3_9_CTG2_1': 'NW_019805490.1',
        'HSCHR3_8_CTG2_1': 'NW_019805489.1',
        'HSCHR3_7_CTG2_1': 'NW_019805488.1',
        'HSCHR4_2_CTG4': 'NW_013171799.1',
        'HSCHR4_8_CTG12': 'NW_013171800.1',
        'HSCHR4_9_CTG12': 'NW_013171801.1',
        'HSCHR4_12_CTG12': 'NW_017363814.1',
        'HG2023_PATCH': 'NW_015495300.1',
        'HSCHR4_11_CTG12': 'NW_015495301.1',
        'HSCHR5_9_CTG1': 'NW_018654712.1',
        'HSCHR5_7_CTG1': 'NW_009646199.1',
        'HSCHR5_8_CTG1': 'NW_016107297.1',
        'HG30_PATCH': 'NW_016107298.1',
        'HG2057_PATCH': 'NW_018654713.1',
        'HSCHR6_1_CTG10': 'NW_013171803.1',
        'HG1651_PATCH': 'NW_012132918.1',
        'HG2128_PATCH': 'NW_009646200.1',
        'HG2072_PATCH': 'NW_013171802.1',
        'HG2121_PATCH': 'NW_017363815.1',
        'HSCHR7_3_CTG1': 'NW_019805493.1',
        'HG2088_PATCH': 'NW_017852929.1',
        'HG2266_PATCH': 'NW_017852930.1',
        'HG708_PATCH': 'NW_018654714.1',
        'HSCHR7_3_CTG4_4': 'NW_018654715.1',
        'HG2239_PATCH': 'NW_012132919.1',
        'HG76_PATCH': 'NW_018654717.1',
        'HG2068_PATCH': 'NW_017852932.1',
        'HG2067_PATCH': 'NW_017852931.1',
        'HSCHR8_7_CTG7': 'NW_019805494.1',
        'HG2419_PATCH': 'NW_018654716.1',
        'HSCHR9_1_CTG6': 'NW_013171804.1',
        'HSCHR9_1_CTG7': 'NW_013171805.1',
        'HG2030_PATCH': 'NW_009646201.1',
        'HG2244_HG2245_PATCH': 'NW_011332694.1',
        'HSCHR10_1_CTG6': 'NW_013171806.1',
        'HG2191_PATCH': 'NW_009646202.1',
        'HG2334_PATCH': 'NW_013171807.1',
        'HG2242_HG2243_PATCH': 'NW_011332693.1',
        'HG2241_PATCH': 'NW_011332692.1',
        'HG107_PATCH': 'NW_015148966.1',
        'HSCHR11_1_CTG1_2': 'NW_011332695.1',
        'HG2114_PATCH': 'NW_019805496.1',
        'HG2060_PATCH': 'NW_019805495.1',
        'HG1708_PATCH': 'NW_017363816.1',
        'HSCHR11_1_CTG3_1': 'NW_019805498.1',
        'HSCHR11_2_CTG8': 'NW_019805497.1',
        'HG2116_PATCH': 'NW_013171808.1',
        'HG2217_PATCH': 'NW_009646203.1',
        'HSCHR12_2_CTG1': 'NW_013171809.1',
        'HG1815_PATCH': 'NW_018654718.1',
        'HG1362_PATCH': 'NW_011332696.1',
        'HG23_PATCH': 'NW_009646204.1',
        'HSCHR12_8_CTG2_1': 'NW_018654720.1',
        'HG2063_PATCH': 'NW_015148967.1',
        'HG2047_PATCH': 'NW_018654719.1',
        'HG2247_PATCH': 'NW_011332697.1',
        'HSCHR12_9_CTG2_1': 'NW_019805499.1',
        'HG2291_PATCH': 'NW_011332699.1',
        'HSCHR13_1_CTG7': 'NW_013171810.1',
        'HG2216_PATCH': 'NW_009646205.1',
        'HG2249_PATCH': 'NW_011332700.1',
        'HSCHR13_1_CTG8': 'NW_013171811.1',
        'HG2288_HG2289_PATCH': 'NW_011332698.1',
        'HG1_PATCH': 'NW_018654722.1',
        'HSCHR14_8_CTG1': 'NW_018654721.1',
        'HG2139_PATCH': 'NW_011332701.1',
        'HSCHR15_6_CTG8': 'NW_012132920.1',
        'HSCHR16_5_CTG1': 'NW_013171812.1',
        'HG2263_PATCH': 'NW_019805500.1',
        'HG926_PATCH': 'NW_017852933.1',
        'HSCHR16_4_CTG3_1': 'NW_013171813.1',
        'HSCHR16_5_CTG3_1': 'NW_018654723.1',
        'HSCHR16_3_CTG3_1': 'NW_012132921.1',
        'HG2285_HG106_HG2252_PATCH': 'NW_017363817.1',
        'HG2046_PATCH': 'NW_016107299.1',
        'HSCHR17_3_CTG1': 'NW_017363819.1',
        'HSCHR17_11_CTG4': 'NW_017363818.1',
        'HSCHR17_12_CTG4': 'NW_019805501.1',
        'HSCHR18_1_CTG1': 'NW_019805503.1',
        'HSCHR18_5_CTG1_1': 'NW_014040928.1',
        'HG2412_PATCH': 'NW_019805502.1',
        'HG2213_PATCH': 'NW_013171814.1',
        'HG2442_PATCH': 'NW_018654724.1',
        'HG26_PATCH': 'NW_014040929.1',
        'HG2021_PATCH': 'NW_009646206.1',
        'HSCHR19KIR_0019-4656-A_CTG3_1': 'NW_016107300.1',
        'HSCHR19KIR_CA01-TA01_1_CTG3_1': 'NW_016107301.1',
        'HSCHR19KIR_CA01-TA01_2_CTG3_1': 'NW_016107302.1',
        'HSCHR19KIR_CA01-TB04_CTG3_1': 'NW_016107303.1',
        'HSCHR19KIR_CA01-TB01_CTG3_1': 'NW_016107304.1',
        'HSCHR19KIR_HG2394_CTG3_1': 'NW_016107305.1',
        'HSCHR19KIR_502960008-2_CTG3_1': 'NW_016107306.1',
        'HSCHR19KIR_502960008-1_CTG3_1': 'NW_016107307.1',
        'HSCHR19KIR_0010-5217-AB_CTG3_1': 'NW_016107308.1',
        'HSCHR19KIR_7191059-1_CTG3_1': 'NW_016107309.1',
        'HSCHR19KIR_0019-4656-B_CTG3_1': 'NW_016107310.1',
        'HSCHR19KIR_CA04_CTG3_1': 'NW_016107311.1',
        'HSCHR19KIR_7191059-2_CTG3_1': 'NW_016107313.1',
        'HSCHR19KIR_HG2396_CTG3_1': 'NW_016107314.1',
        'HSCHR19KIR_HG2393_CTG3_1': 'NW_016107312.1',
        'HSCHR22_4_CTG1': 'NW_009646207.1',
        'HSCHR22_6_CTG1': 'NW_014040930.1',
        'HSCHR22_7_CTG1': 'NW_014040931.1',
        'HSCHR22_5_CTG1': 'NW_009646208.1',
        'HSCHR22_8_CTG1': 'NW_015148968.1',
        'HG1311_PATCH': 'NW_015148969.1',
        'HSCHRX_3_CTG7': 'NW_017363820.1',
        'HG1531_PATCH': 'NW_018654725.1',
        'HG1535_PATCH': 'NW_018654726.1',
        'HG2062_PATCH': 'NW_009646209.1',
        'HSCHR1_1_CTG3': 'NT_187515.1',
        'HSCHR1_2_CTG3': 'NT_187517.1',
        'HSCHR1_1_CTG11': 'NT_187514.1',
        'HSCHR1_4_CTG31': 'NT_187520.1',
        'HSCHR1_1_CTG31': 'NW_003315905.1',
        'HSCHR1_2_CTG31': 'NW_003315906.1',
        'HSCHR1_3_CTG31': 'NW_003315907.2',
        'HSCHR1_4_CTG32_1': 'NT_187521.1',
        'HSCHR1_3_CTG32_1': 'NT_187519.1',
        'HSCHR1_1_CTG32_1': 'NT_187516.1',
        'HSCHR1_2_CTG32_1': 'NT_187518.1',
        'HSCHR2_2_CTG1': 'NT_187525.1',
        'HSCHR2_3_CTG1': 'NT_187526.1',
        'HSCHR2_4_CTG1': 'NT_187529.1',
        'HSCHR2_1_CTG1': 'NT_187522.1',
        'HSCHR2_1_CTG5': 'NW_003315908.1',
        'HSCHR2_1_CTG7': 'NT_187524.1',
        'HSCHR2_5_CTG7_2': 'NT_187531.1',
        'HSCHR2_4_CTG7_2': 'NT_187530.1',
        'HSCHR2_3_CTG7_2': 'NT_187528.1',
        'HSCHR2_2_CTG7_2': 'NW_003571033.2',
        'HSCHR2_1_CTG7_2': 'NW_003315909.1',
        'HSCHR2_3_CTG15': 'NT_187527.1',
        'HSCHR2_1_CTG15': 'NT_187523.1',
        'HSCHR3_1_CTG1': 'NW_003871060.2',
        'HSCHR3_3_CTG1': 'NT_187535.1',
        'HSCHR3_4_CTG2_1': 'NT_187537.1',
        'HSCHR3_1_CTG2_1': 'NW_003315913.1',
        'HSCHR3_2_CTG2_1': 'NT_187533.1',
        'HSCHR3_3_CTG2_1': 'NT_187536.1',
        'HSCHR3_5_CTG2_1': 'NT_187538.1',
        'HSCHR3_1_CTG3': 'NT_187532.1',
        'HSCHR3_2_CTG3': 'NT_187534.1',
        'HSCHR3_9_CTG3': 'NT_187539.1',
        'HSCHR4_1_CTG4': 'NT_187540.1',
        'HSCHR4_1_CTG6': 'NW_003315915.1',
        'HSCHR4_1_CTG8_1': 'NT_187541.1',
        'HSCHR4_1_CTG9': 'NT_167250.2',
        'HSCHR4_4_CTG12': 'NT_187544.1',
        'HSCHR4_1_CTG12': 'NW_003315914.1',
        'HSCHR4_2_CTG12': 'NT_187542.1',
        'HSCHR4_5_CTG12': 'NT_187545.1',
        'HSCHR4_3_CTG12': 'NT_187543.1',
        'HSCHR5_5_CTG1': 'NT_187550.1',
        'HSCHR5_4_CTG1': 'NT_187548.1',
        'HSCHR5_3_CTG1': 'NT_187547.1',
        'HSCHR5_1_CTG1': 'NW_003315920.1',
        'HSCHR5_2_CTG1': 'NW_003571036.1',
        'HSCHR5_6_CTG1': 'NT_187551.1',
        'HSCHR5_2_CTG1_1': 'NW_003315917.2',
        'HSCHR5_3_CTG1_1': 'NW_003315918.1',
        'HSCHR5_4_CTG1_1': 'NT_187549.1',
        'HSCHR5_1_CTG5': 'NW_003315919.1',
        'HSCHR5_2_CTG5': 'NT_187546.1',
        'HSCHR6_MHC_APD': 'NT_167244.2',
        'HSCHR6_1_CTG7': 'NT_187555.1',
        'HSCHR6_1_CTG6': 'NT_187554.1',
        'HSCHR6_1_CTG2': 'NW_003315921.1',
        'HSCHR6_1_CTG8': 'NT_187556.1',
        'HSCHR6_1_CTG9': 'NT_187557.1',
        'HSCHR6_1_CTG3': 'NW_004166862.2',
        'HSCHR6_1_CTG4': 'NT_187552.1',
        'HSCHR6_1_CTG5': 'NT_187553.1',
        'HSCHR7_1_CTG1': 'NT_187558.1',
        'HSCHR7_2_CTG4_4': 'NT_187561.1',
        'HSCHR7_1_CTG4_4': 'NT_187559.1',
        'HSCHR7_1_CTG6': 'NW_003315922.2',
        'HSCHR7_2_CTG6': 'NT_187562.1',
        'HSCHR7_3_CTG6': 'NT_187564.1',
        'HSCHR7_2_CTG7': 'NT_187563.1',
        'HSCHR7_1_CTG7': 'NT_187560.1',
        'HSCHR8_4_CTG1': 'NT_187572.1',
        'HSCHR8_2_CTG1': 'NT_187568.1',
        'HSCHR8_1_CTG1': 'NT_187565.1',
        'HSCHR8_8_CTG1': 'NT_187576.1',
        'HSCHR8_3_CTG1': 'NT_187570.1',
        'HSCHR8_9_CTG1': 'NT_187577.1',
        'HSCHR8_1_CTG6': 'NT_187566.1',
        'HSCHR8_1_CTG7': 'NT_187567.1',
        'HSCHR8_5_CTG7': 'NT_187574.1',
        'HSCHR8_6_CTG7': 'NT_187575.1',
        'HSCHR8_4_CTG7': 'NT_187573.1',
        'HSCHR8_3_CTG7': 'NT_187571.1',
        'HSCHR8_2_CTG7': 'NT_187569.1',
        'HSCHR9_1_CTG1': 'NW_003315928.1',
        'HSCHR9_1_CTG2': 'NW_003315929.1',
        'HSCHR9_1_CTG3': 'NW_003315930.1',
        'HSCHR9_1_CTG4': 'NW_003315931.1',
        'HSCHR9_1_CTG5': 'NT_187578.1',
        'HSCHR10_1_CTG1': 'NW_003315934.1',
        'HSCHR10_1_CTG3': 'NT_187579.1',
        'HSCHR10_1_CTG2': 'NW_003315935.1',
        'HSCHR10_1_CTG4': 'NT_187580.1',
        'HSCHR11_1_CTG8': 'NT_187586.1',
        'HSCHR11_1_CTG6': 'NT_187584.1',
        'HSCHR11_1_CTG7': 'NT_187585.1',
        'HSCHR11_1_CTG5': 'NT_187583.1',
        'HSCHR11_1_CTG1_1': 'NW_003315936.1',
        'HG142_HG150_NOVEL_TEST': 'NW_003871073.1',
        'HG151_NOVEL_TEST': 'NW_003871074.1',
        'HSCHR11_1_CTG3': 'NT_187582.1',
        'HSCHR11_1_CTG2': 'NT_187581.1',
        'HSCHR12_1_CTG1': 'NW_003571049.1',
        'HSCHR12_2_CTG2': 'NW_003571050.1',
        'HSCHR12_5_CTG2': 'NT_187588.1',
        'HSCHR12_1_CTG2': 'NW_003315938.1',
        'HSCHR12_4_CTG2': 'NT_187587.1',
        'HSCHR12_1_CTG2_1': 'NW_003315939.2',
        'HSCHR12_2_CTG2_1': 'NW_003315941.1',
        'HSCHR12_3_CTG2_1': 'NW_003315942.2',
        'HSCHR12_6_CTG2_1': 'NT_187590.1',
        'HSCHR12_4_CTG2_1': 'NW_003315940.1',
        'HSCHR12_5_CTG2_1': 'NT_187589.1',
        'HSCHR12_7_CTG2_1': 'NT_187591.1',
        'HSCHR13_1_CTG3': 'NT_187594.1',
        'HSCHR13_1_CTG2': 'NT_187593.1',
        'HSCHR13_1_CTG6': 'NT_187597.1',
        'HSCHR13_1_CTG4': 'NT_187595.1',
        'HSCHR13_1_CTG1': 'NT_187592.1',
        'HSCHR13_1_CTG5': 'NT_187596.1',
        'HSCHR14_1_CTG1': 'NT_187598.1',
        'HSCHR14_7_CTG1': 'NT_187601.1',
        'HSCHR14_2_CTG1': 'NT_187599.1',
        'HSCHR14_3_CTG1': 'NT_187600.1',
        'HSCHR15_1_CTG1': 'NT_187602.1',
        'HSCHR15_3_CTG3': 'NT_187604.1',
        'HSCHR15_1_CTG3': 'NT_187603.1',
        'HSCHR15_1_CTG8': 'NW_003315943.1',
        'HSCHR15_3_CTG8': 'NT_187605.1',
        'HSCHR15_2_CTG8': 'NW_003315944.2',
        'HSCHR15_5_CTG8': 'NT_187606.1',
        'HSCHR16_CTG2': 'NT_187610.1',
        'HSCHR16_4_CTG1': 'NT_187609.1',
        'HSCHR16_3_CTG1': 'NT_187608.1',
        'HSCHR16_1_CTG1': 'NT_187607.1',
        'HSCHR16_1_CTG3_1': 'NW_003315945.1',
        'HSCHR16_2_CTG3_1': 'NW_003315946.1',
        'HSCHR17_1_CTG1': 'NW_003315952.3',
        'HSCHR17_2_CTG2': 'NT_187613.1',
        'HSCHR17_1_CTG2': 'NT_187611.1',
        'HSCHR17_7_CTG4': 'NT_187614.1',
        'HSCHR17_4_CTG4': 'NW_003871091.1',
        'HSCHR17_5_CTG4': 'NW_003871092.1',
        'HSCHR17_1_CTG4': 'NW_003315953.2',
        'HSCHR17_1_CTG5': 'NT_167251.2',
        'HSCHR17_2_CTG4': 'NW_003315954.1',
        'HSCHR17_8_CTG4': 'NT_187615.1',
        'HSCHR17_9_CTG4': 'NT_187616.1',
        'HSCHR17_3_CTG4': 'NW_003315955.1',
        'HSCHR17_1_CTG9': 'NT_187612.1',
        'HSCHR18_4_CTG1_1': 'NT_187618.1',
        'HSCHR18_1_CTG1_1': 'NW_003315956.1',
        'HSCHR18_2_CTG1_1': 'NW_003315959.1',
        'HSCHR18_2_CTG2': 'NW_003315960.1',
        'HSCHR18_1_CTG2': 'NW_003315957.1',
        'HSCHR18_1_CTG2_1': 'NW_003315958.1',
        'HSCHR18_2_CTG2_1': 'NW_003315961.1',
        'HSCHR18_3_CTG2_1': 'NT_187617.1',
        'HSCHR19_5_CTG2': 'NT_187622.1',
        'HSCHR19_4_CTG2': 'NT_187621.1',
        'HSCHR19_1_CTG2': 'NW_003315962.1',
        'HSCHR19_2_CTG2': 'NW_003315964.2',
        'HSCHR19_3_CTG2': 'NW_003315965.1',
        'HSCHR19_1_CTG3_1': 'NW_003315963.1',
        'HSCHR19_2_CTG3_1': 'NT_187619.1',
        'HSCHR19_3_CTG3_1': 'NT_187620.1',
        'HSCHR19LRC_COX1_CTG3_1': 'NW_003571054.1',
        'HSCHR20_1_CTG1': 'NW_003315966.2',
        'HSCHR20_1_CTG2': 'NT_187623.1',
        'HSCHR20_1_CTG4': 'NT_187625.1',
        'HSCHR20_1_CTG3': 'NT_187624.1',
        'HSCHR21_1_CTG1_1': 'NW_003315967.2',
        'HSCHR21_8_CTG1_1': 'NT_187628.1',
        'HSCHR21_6_CTG1_1': 'NT_187627.1',
        'HSCHR21_2_CTG1_1': 'NW_003315968.2',
        'HSCHR21_3_CTG1_1': 'NW_003315969.2',
        'HSCHR21_4_CTG1_1': 'NW_003315970.2',
        'HSCHR21_5_CTG2': 'NT_187626.1',
        'HSCHR22_1_CTG3': 'NT_187629.1',
        'HSCHR22_1_CTG6': 'NT_187632.1',
        'HSCHR22_1_CTG7': 'NT_187633.1',
        'HSCHR22_1_CTG4': 'NT_187630.1',
        'HSCHR22_1_CTG5': 'NT_187631.1',
        'HSCHR22_1_CTG2': 'NW_003315972.2',
        'HSCHR22_1_CTG1': 'NW_003315971.2',
        'HSCHRX_1_CTG3': 'NT_187634.1',
        'HSCHRX_2_CTG12': 'NT_187635.1',
        'HSCHR1_ALT2_1_CTG32_1': 'NT_187646.1',
        'HSCHR2_2_CTG7': 'NT_187648.1',
        'HSCHR2_2_CTG15': 'NT_187647.1',
        'HSCHR3_3_CTG3': 'NT_187649.1',
        'HSCHR4_6_CTG12': 'NT_187650.1',
        'HSCHR5_1_CTG1_1': 'NT_187651.1',
        'HSCHR5_3_CTG5': 'NT_187652.1',
        'HSCHR6_MHC_COX': 'NT_113891.3',
        'HSCHR7_2_CTG1': 'NT_187653.1',
        'HSCHR8_6_CTG1': 'NT_187655.1',
        'HSCHR8_5_CTG1': 'NT_187654.1',
        'HSCHR11_2_CTG1': 'NT_187656.1',
        'HSCHR11_2_CTG1_1': 'NT_187657.1',
        'HSCHR12_3_CTG2': 'NT_187658.1',
        'HSCHR15_2_CTG3': 'NT_187659.1',
        'HSCHR15_4_CTG8': 'NT_187660.1',
        'HSCHR17_2_CTG1': 'NT_187662.1',
        'HSCHR17_3_CTG2': 'NT_187664.1',
        'HSCHR17_10_CTG4': 'NT_187661.1',
        'HSCHR17_6_CTG4': 'NW_003871093.1',
        'HSCHR17_2_CTG5': 'NT_187663.1',
        'HSCHR18_ALT21_CTG2_1': 'NT_187665.1',
        'HSCHR18_ALT2_CTG2_1': 'NT_187666.1',
        'HSCHR19LRC_COX2_CTG3_1': 'NW_003571055.2',
        'HSCHR22_2_CTG1': 'NW_004504305.1',
        'HSCHRX_2_CTG3': 'NT_187667.1',
        'HSCHR3_4_CTG3': 'NT_187678.1',
        'HSCHR4_7_CTG12': 'NT_187679.1',
        'HSCHR6_MHC_DBB': 'NT_167245.2',
        'HSCHR8_7_CTG1': 'NT_187680.1',
        'HSCHR11_3_CTG1': 'NT_187681.1',
        'HSCHR19LRC_LRC_I_CTG3_1': 'NW_003571056.2',
        'HSCHR22_3_CTG1': 'NT_187682.1',
        'HSCHR3_5_CTG3': 'NT_187688.1',
        'HSCHR6_MHC_MANN': 'NT_167246.2', # Should be HSCHR6_MHC_MANN_CTG1 (See GRCh38 copy)
        'HSCHR19LRC_LRC_J_CTG3_1': 'NW_003571057.2',
        'HSCHR3_6_CTG3': 'NT_187689.1',
        'HSCHR6_MHC_MCF': 'NT_167247.2',
        'HSCHR19LRC_LRC_S_CTG3_1': 'NW_003571058.2',
        'HSCHR3_7_CTG3': 'NT_187690.1',
        'HSCHR6_MHC_QBL': 'NT_167248.2',
        'HSCHR19LRC_LRC_T_CTG3_1': 'NW_003571059.2',
        'HSCHR3_8_CTG3': 'NT_187691.1',
        'HSCHR6_MHC_SSTO': 'NT_167249.2',
        'HSCHR19LRC_PGF1_CTG3_1': 'NW_003571060.1',
        'HSCHR6_8_CTG1': 'NT_187692.1',
        'HSCHR19LRC_PGF2_CTG3_1': 'NW_003571061.2',
        'HSCHR19_4_CTG3_1': 'NT_187693.1',
        'HSCHR19KIR_FH15_B_HAP_CTG3_1': 'NT_187636.1',
        'HSCHR19KIR_G085_A_HAP_CTG3_1': 'NT_187637.1',
        'HSCHR19KIR_G085_BA1_HAP_CTG3_1': 'NT_187638.1',
        'HSCHR19KIR_G248_A_HAP_CTG3_1': 'NT_187639.1',
        'HSCHR19KIR_G248_BA2_HAP_CTG3_1': 'NT_187640.1',
        'HSCHR19KIR_GRC212_AB_HAP_CTG3_1': 'NT_187641.1',
        'HSCHR19KIR_GRC212_BA1_HAP_CTG3_1': 'NT_187642.1',
        'HSCHR19KIR_LUCE_A_HAP_CTG3_1': 'NT_187643.1',
        'HSCHR19KIR_LUCE_BDEL_HAP_CTG3_1': 'NT_187644.1',
        'HSCHR19KIR_RSH_A_HAP_CTG3_1': 'NT_187645.1',
        'HSCHR19KIR_RSH_BA2_HAP_CTG3_1': 'NT_187668.1',
        'HSCHR19KIR_T7526_A_HAP_CTG3_1': 'NT_187669.1',
        'HSCHR19KIR_T7526_BDEL_HAP_CTG3_1': 'NT_187670.1',
        'HSCHR19KIR_ABC08_A1_HAP_CTG3_1': 'NT_187671.1',
        'HSCHR19KIR_ABC08_AB_HAP_C_P_CTG3_1': 'NT_187672.1',
        'HSCHR19KIR_ABC08_AB_HAP_T_P_CTG3_1': 'NT_187673.1',
        'HSCHR19KIR_FH05_A_HAP_CTG3_1': 'NT_187674.1',
        'HSCHR19KIR_FH05_B_HAP_CTG3_1': 'NT_187675.1',
        'HSCHR19KIR_FH06_A_HAP_CTG3_1': 'NT_187676.1',
        'HSCHR19KIR_FH06_BA1_HAP_CTG3_1': 'NT_187677.1',
        'HSCHR19KIR_FH08_A_HAP_CTG3_1': 'NT_187683.1',
        'HSCHR19KIR_FH08_BAX_HAP_CTG3_1': 'NT_187684.1',
        'HSCHR19KIR_FH13_A_HAP_CTG3_1': 'NT_187685.1',
        'HSCHR19KIR_FH13_BA2_HAP_CTG3_1': 'NT_187686.1',
        'HSCHR19KIR_FH15_A_HAP_CTG3_1': 'NT_187687.1',
        'HSCHR19KIR_RP5_B_HAP_CTG3_1': 'NT_113949.2',
    }
    # Convert call line to rs line
    chr_num = chr_num.upper()
    if re.match('chr', chr_num):
        chr_num.replace('chr', '')
    if primary_assembly == 'hg19':
        chr_accession = hg19.get(chr_num)
    if primary_assembly == 'GRCh37':
        chr_accession = GRCh37.get(chr_num)
    if primary_assembly == 'GRCh38' or primary_assembly == 'hg38':
        chr_accession = GRCh38.get(chr_num)
    return chr_accession


def to_name(accession):
    # Available genome builds
    chr_num_convert = {
        "NC_000001": "chr1",
        "NC_000002": "chr2",
        "NC_000003": "chr3",
        "NC_000005": "chr5",
        "NC_000004": "chr4",
        "NC_000006": "chr6",
        "NC_000007": "chr7",
        "NC_000008": "chr8",
        "NC_000009": "chr9",
        "NC_000010": "chr10",
        "NC_000011": "chr11",
        "NC_000012": "chr12",
        "NC_000013": "chr13",
        "NC_000014": "chr14",
        "NC_000015": "chr15",
        "NC_000016": "chr16",
        "NC_000017": "chr17",
        "NC_000018": "chr18",
        "NC_000019": "chr19",
        "NC_000020": "chr20",
        "NC_000021": "chr21",
        "NC_000022": "chr22",
        "NC_000023": "chrX",
        "NC_000024": "chrY",
        "NC_012920": "chrM",  # Cambridge revised mitochondrial
        "NC_001807": "chrM",  # hg19 mitochondrial

        # UCSC hg19 ALTS
        "NT_113921.2": "chr11_gl000202_random",
        "NT_167251.1": "chr17_ctg5_hap1",
        "NT_113941.1": "chr17_gl000203_random",
        "NT_113943.1": "chr17_gl000204_random",
        "NT_113930.1": "chr17_gl000205_random",
        "NT_113945.1": "chr17_gl000206_random",
        "NT_113947.1": "chr18_gl000207_random",
        "NT_113948.1": "chr19_gl000208_random",
        "NT_113949.1": "chr19_gl000209_random",
        "NT_113878.1": "chr1_gl000191_random",
        "NT_167207.1": "chr1_gl000192_random",
        "NT_113950.2": "chr21_gl000210_random",
        "NT_167250.1": "chr4_ctg9_hap1",
        "NT_113885.1": "chr4_gl000193_random",
        "NT_113888.1": "chr4_gl000194_random",
        "NT_167244.1": "chr6_apd_hap1",
        "NT_113891.2": "chr6_cox_hap2",
        "NT_167245.1": "chr6_dbb_hap3",
        "NT_167246.1": "chr6_mann_hap4",
        "NT_167247.1": "chr6_mcf_hap5",
        "NT_167248.1": "chr6_qbl_hap6",
        "NT_167249.1": "chr6_ssto_hap7",
        "NT_113901.1": "chr7_gl000195_random",
        "NT_113909.1": "chr8_gl000196_random",
        "NT_113907.1": "chr8_gl000197_random",
        "NT_113914.1": "chr9_gl000198_random",
        "NT_113916.2": "chr9_gl000199_random",
        "NT_113915.1": "chr9_gl000200_random",
        "NT_113911.1": "chr9_gl000201_random",
        "NT_113961.1": "chrUn_gl000211",
        "NT_113923.1": "chrUn_gl000212",
        "NT_167208.1": "chrUn_gl000213",
        "NT_167209.1": "chrUn_gl000214",
        "NT_167210.1": "chrUn_gl000215",
        "NT_167211.1": "chrUn_gl000216",
        "NT_167212.1": "chrUn_gl000217",
        "NT_113889.1": "chrUn_gl000218",
        "NT_167213.1": "chrUn_gl000219",
        "NT_167214.1": "chrUn_gl000220",
        "NT_167215.1": "chrUn_gl000221",
        "NT_167216.1": "chrUn_gl000222",
        "NT_167217.1": "chrUn_gl000223",
        "NT_167218.1": "chrUn_gl000224",
        "NT_167219.1": "chrUn_gl000225",
        "NT_167220.1": "chrUn_gl000226",
        "NT_167221.1": "chrUn_gl000227",
        "NT_167222.1": "chrUn_gl000228",
        "NT_167223.1": "chrUn_gl000229",
        "NT_167224.1": "chrUn_gl000230",
        "NT_167225.1": "chrUn_gl000231",
        "NT_167226.1": "chrUn_gl000232",
        "NT_167227.1": "chrUn_gl000233",
        "NT_167228.1": "chrUn_gl000234",
        "NT_167229.1": "chrUn_gl000235",
        "NT_167230.1": "chrUn_gl000236",
        "NT_167231.1": "chrUn_gl000237",
        "NT_167232.1": "chrUn_gl000238",
        "NT_167233.1": "chrUn_gl000239",
        "NT_167234.1": "chrUn_gl000240",
        "NT_167235.1": "chrUn_gl000241",
        "NT_167236.1": "chrUn_gl000242",
        "NT_167237.1": "chrUn_gl000243",
        "NT_167238.1": "chrUn_gl000244",
        "NT_167239.1": "chrUn_gl000245",
        "NT_167240.1": "chrUn_gl000246",
        "NT_167241.1": "chrUn_gl000247",
        "NT_167242.1": "chrUn_gl000248",
        "NT_167243.1": "chrUn_gl000249",

        # UCSC hg38 Alts
        "NW_003315934.1": "chr10_GL383545v1_alt",
        "NW_003315935.1": "chr10_GL383546v1_alt",
        "NT_187579.1": "chr10_KI270824v1_alt",
        "NT_187580.1": "chr10_KI270825v1_alt",
        "NW_003315936.1": "chr11_GL383547v1_alt",
        "NW_003871073.1": "chr11_JH159136v1_alt",
        "NW_003871074.1": "chr11_JH159137v1_alt",
        "NT_187376.1": "chr11_KI270721v1_random",
        "NT_187581.1": "chr11_KI270826v1_alt",
        "NT_187582.1": "chr11_KI270827v1_alt",
        "NT_187583.1": "chr11_KI270829v1_alt",
        "NT_187584.1": "chr11_KI270830v1_alt",
        "NT_187585.1": "chr11_KI270831v1_alt",
        "NT_187586.1": "chr11_KI270832v1_alt",
        "NT_187656.1": "chr11_KI270902v1_alt",
        "NT_187657.1": "chr11_KI270903v1_alt",
        "NT_187681.1": "chr11_KI270927v1_alt",
        "NW_003315938.1": "chr12_GL383549v1_alt",
        "NW_003315939.2": "chr12_GL383550v2_alt",
        "NW_003315940.1": "chr12_GL383551v1_alt",
        "NW_003315941.1": "chr12_GL383552v1_alt",
        "NW_003315942.2": "chr12_GL383553v2_alt",
        "NW_003571049.1": "chr12_GL877875v1_alt",
        "NW_003571050.1": "chr12_GL877876v1_alt",
        "NT_187589.1": "chr12_KI270833v1_alt",
        "NT_187590.1": "chr12_KI270834v1_alt",
        "NT_187587.1": "chr12_KI270835v1_alt",
        "NT_187591.1": "chr12_KI270836v1_alt",
        "NT_187588.1": "chr12_KI270837v1_alt",
        "NT_187658.1": "chr12_KI270904v1_alt",
        "NT_187592.1": "chr13_KI270838v1_alt",
        "NT_187593.1": "chr13_KI270839v1_alt",
        "NT_187594.1": "chr13_KI270840v1_alt",
        "NT_187595.1": "chr13_KI270841v1_alt",
        "NT_187596.1": "chr13_KI270842v1_alt",
        "NT_187597.1": "chr13_KI270843v1_alt",
        "NT_113796.3": "chr14_GL000009v2_random",
        "NT_113888.1": "chr14_GL000194v1_random",
        "NT_167219.1": "chr14_GL000225v1_random",
        "NT_187377.1": "chr14_KI270722v1_random",
        "NT_187378.1": "chr14_KI270723v1_random",
        "NT_187379.1": "chr14_KI270724v1_random",
        "NT_187380.1": "chr14_KI270725v1_random",
        "NT_187381.1": "chr14_KI270726v1_random",
        "NT_187598.1": "chr14_KI270844v1_alt",
        "NT_187599.1": "chr14_KI270845v1_alt",
        "NT_187600.1": "chr14_KI270846v1_alt",
        "NT_187601.1": "chr14_KI270847v1_alt",
        "NW_003315943.1": "chr15_GL383554v1_alt",
        "NW_003315944.2": "chr15_GL383555v2_alt",
        "NT_187382.1": "chr15_KI270727v1_random",
        "NT_187603.1": "chr15_KI270848v1_alt",
        "NT_187605.1": "chr15_KI270849v1_alt",
        "NT_187606.1": "chr15_KI270850v1_alt",
        "NT_187604.1": "chr15_KI270851v1_alt",
        "NT_187602.1": "chr15_KI270852v1_alt",
        "NT_187660.1": "chr15_KI270905v1_alt",
        "NT_187659.1": "chr15_KI270906v1_alt",
        "NW_003315945.1": "chr16_GL383556v1_alt",
        "NW_003315946.1": "chr16_GL383557v1_alt",
        "NT_187383.1": "chr16_KI270728v1_random",
        "NT_187607.1": "chr16_KI270853v1_alt",
        "NT_187610.1": "chr16_KI270854v1_alt",
        "NT_187608.1": "chr16_KI270855v1_alt",
        "NT_187609.1": "chr16_KI270856v1_alt",
        "NT_113930.2": "chr17_GL000205v2_random",
        "NT_167251.2": "chr17_GL000258v2_alt",
        "NW_003315952.3": "chr17_GL383563v3_alt",
        "NW_003315953.2": "chr17_GL383564v2_alt",
        "NW_003315954.1": "chr17_GL383565v1_alt",
        "NW_003315955.1": "chr17_GL383566v1_alt",
        "NW_003871091.1": "chr17_JH159146v1_alt",
        "NW_003871092.1": "chr17_JH159147v1_alt",
        "NW_003871093.1": "chr17_JH159148v1_alt",
        "NT_187384.1": "chr17_KI270729v1_random",
        "NT_187385.1": "chr17_KI270730v1_random",
        "NT_187614.1": "chr17_KI270857v1_alt",
        "NT_187615.1": "chr17_KI270858v1_alt",
        "NT_187616.1": "chr17_KI270859v1_alt",
        "NT_187612.1": "chr17_KI270860v1_alt",
        "NT_187611.1": "chr17_KI270861v1_alt",
        "NT_187613.1": "chr17_KI270862v1_alt",
        "NT_187662.1": "chr17_KI270907v1_alt",
        "NT_187663.1": "chr17_KI270908v1_alt",
        "NT_187661.1": "chr17_KI270909v1_alt",
        "NT_187664.1": "chr17_KI270910v1_alt",
        "NW_003315956.1": "chr18_GL383567v1_alt",
        "NW_003315957.1": "chr18_GL383568v1_alt",
        "NW_003315958.1": "chr18_GL383569v1_alt",
        "NW_003315959.1": "chr18_GL383570v1_alt",
        "NW_003315960.1": "chr18_GL383571v1_alt",
        "NW_003315961.1": "chr18_GL383572v1_alt",
        "NT_187617.1": "chr18_KI270863v1_alt",
        "NT_187618.1": "chr18_KI270864v1_alt",
        "NT_187666.1": "chr18_KI270911v1_alt",
        "NT_187665.1": "chr18_KI270912v1_alt",
        "NT_113949.2": "chr19_GL000209v2_alt",
        "NW_003315962.1": "chr19_GL383573v1_alt",
        "NW_003315963.1": "chr19_GL383574v1_alt",
        "NW_003315964.2": "chr19_GL383575v2_alt",
        "NW_003315965.1": "chr19_GL383576v1_alt",
        "NW_003571054.1": "chr19_GL949746v1_alt",
        "NW_003571055.2": "chr19_GL949747v2_alt",
        "NW_003571056.2": "chr19_GL949748v2_alt",
        "NW_003571057.2": "chr19_GL949749v2_alt",
        "NW_003571058.2": "chr19_GL949750v2_alt",
        "NW_003571059.2": "chr19_GL949751v2_alt",
        "NW_003571060.1": "chr19_GL949752v1_alt",
        "NW_003571061.2": "chr19_GL949753v2_alt",
        "NT_187621.1": "chr19_KI270865v1_alt",
        "NT_187619.1": "chr19_KI270866v1_alt",
        "NT_187620.1": "chr19_KI270867v1_alt",
        "NT_187622.1": "chr19_KI270868v1_alt",
        "NT_187636.1": "chr19_KI270882v1_alt",
        "NT_187637.1": "chr19_KI270883v1_alt",
        "NT_187638.1": "chr19_KI270884v1_alt",
        "NT_187639.1": "chr19_KI270885v1_alt",
        "NT_187640.1": "chr19_KI270886v1_alt",
        "NT_187641.1": "chr19_KI270887v1_alt",
        "NT_187642.1": "chr19_KI270888v1_alt",
        "NT_187643.1": "chr19_KI270889v1_alt",
        "NT_187644.1": "chr19_KI270890v1_alt",
        "NT_187645.1": "chr19_KI270891v1_alt",
        "NT_187668.1": "chr19_KI270914v1_alt",
        "NT_187669.1": "chr19_KI270915v1_alt",
        "NT_187670.1": "chr19_KI270916v1_alt",
        "NT_187671.1": "chr19_KI270917v1_alt",
        "NT_187672.1": "chr19_KI270918v1_alt",
        "NT_187673.1": "chr19_KI270919v1_alt",
        "NT_187674.1": "chr19_KI270920v1_alt",
        "NT_187675.1": "chr19_KI270921v1_alt",
        "NT_187676.1": "chr19_KI270922v1_alt",
        "NT_187677.1": "chr19_KI270923v1_alt",
        "NT_187683.1": "chr19_KI270929v1_alt",
        "NT_187684.1": "chr19_KI270930v1_alt",
        "NT_187685.1": "chr19_KI270931v1_alt",
        "NT_187686.1": "chr19_KI270932v1_alt",
        "NT_187687.1": "chr19_KI270933v1_alt",
        "NT_187693.1": "chr19_KI270938v1_alt",
        "NW_003315905.1": "chr1_GL383518v1_alt",
        "NW_003315906.1": "chr1_GL383519v1_alt",
        "NW_003315907.2": "chr1_GL383520v2_alt",
        "NT_187361.1": "chr1_KI270706v1_random",
        "NT_187362.1": "chr1_KI270707v1_random",
        "NT_187363.1": "chr1_KI270708v1_random",
        "NT_187364.1": "chr1_KI270709v1_random",
        "NT_187365.1": "chr1_KI270710v1_random",
        "NT_187366.1": "chr1_KI270711v1_random",
        "NT_187367.1": "chr1_KI270712v1_random",
        "NT_187368.1": "chr1_KI270713v1_random",
        "NT_187369.1": "chr1_KI270714v1_random",
        "NT_187516.1": "chr1_KI270759v1_alt",
        "NT_187514.1": "chr1_KI270760v1_alt",
        "NT_187518.1": "chr1_KI270761v1_alt",
        "NT_187515.1": "chr1_KI270762v1_alt",
        "NT_187519.1": "chr1_KI270763v1_alt",
        "NT_187521.1": "chr1_KI270764v1_alt",
        "NT_187520.1": "chr1_KI270765v1_alt",
        "NT_187517.1": "chr1_KI270766v1_alt",
        "NT_187646.1": "chr1_KI270892v1_alt",
        "NW_003315966.2": "chr20_GL383577v2_alt",
        "NT_187623.1": "chr20_KI270869v1_alt",
        "NT_187624.1": "chr20_KI270870v1_alt",
        "NT_187625.1": "chr20_KI270871v1_alt",
        "NW_003315967.2": "chr21_GL383578v2_alt",
        "NW_003315968.2": "chr21_GL383579v2_alt",
        "NW_003315969.2": "chr21_GL383580v2_alt",
        "NW_003315970.2": "chr21_GL383581v2_alt",
        "NT_187626.1": "chr21_KI270872v1_alt",
        "NT_187627.1": "chr21_KI270873v1_alt",
        "NT_187628.1": "chr21_KI270874v1_alt",
        "NW_003315971.2": "chr22_GL383582v2_alt",
        "NW_003315972.2": "chr22_GL383583v2_alt",
        "NW_004504305.1": "chr22_KB663609v1_alt",
        "NT_187386.1": "chr22_KI270731v1_random",
        "NT_187387.1": "chr22_KI270732v1_random",
        "NT_187388.1": "chr22_KI270733v1_random",
        "NT_187389.1": "chr22_KI270734v1_random",
        "NT_187390.1": "chr22_KI270735v1_random",
        "NT_187391.1": "chr22_KI270736v1_random",
        "NT_187392.1": "chr22_KI270737v1_random",
        "NT_187393.1": "chr22_KI270738v1_random",
        "NT_187394.1": "chr22_KI270739v1_random",
        "NT_187629.1": "chr22_KI270875v1_alt",
        "NT_187630.1": "chr22_KI270876v1_alt",
        "NT_187631.1": "chr22_KI270877v1_alt",
        "NT_187632.1": "chr22_KI270878v1_alt",
        "NT_187633.1": "chr22_KI270879v1_alt",
        "NT_187682.1": "chr22_KI270928v1_alt",
        "NW_003315908.1": "chr2_GL383521v1_alt",
        "NW_003315909.1": "chr2_GL383522v1_alt",
        "NW_003571033.2": "chr2_GL582966v2_alt",
        "NT_187370.1": "chr2_KI270715v1_random",
        "NT_187371.1": "chr2_KI270716v1_random",
        "NT_187523.1": "chr2_KI270767v1_alt",
        "NT_187528.1": "chr2_KI270768v1_alt",
        "NT_187522.1": "chr2_KI270769v1_alt",
        "NT_187525.1": "chr2_KI270770v1_alt",
        "NT_187530.1": "chr2_KI270771v1_alt",
        "NT_187524.1": "chr2_KI270772v1_alt",
        "NT_187526.1": "chr2_KI270773v1_alt",
        "NT_187529.1": "chr2_KI270774v1_alt",
        "NT_187531.1": "chr2_KI270775v1_alt",
        "NT_187527.1": "chr2_KI270776v1_alt",
        "NT_187647.1": "chr2_KI270893v1_alt",
        "NT_187648.1": "chr2_KI270894v1_alt",
        "NT_167215.1": "chr3_GL000221v1_random",
        "NW_003315913.1": "chr3_GL383526v1_alt",
        "NW_003871060.2": "chr3_JH636055v2_alt",
        "NT_187533.1": "chr3_KI270777v1_alt",
        "NT_187536.1": "chr3_KI270778v1_alt",
        "NT_187532.1": "chr3_KI270779v1_alt",
        "NT_187537.1": "chr3_KI270780v1_alt",
        "NT_187538.1": "chr3_KI270781v1_alt",
        "NT_187534.1": "chr3_KI270782v1_alt",
        "NT_187535.1": "chr3_KI270783v1_alt",
        "NT_187539.1": "chr3_KI270784v1_alt",
        "NT_187649.1": "chr3_KI270895v1_alt",
        "NT_187678.1": "chr3_KI270924v1_alt",
        "NT_187688.1": "chr3_KI270934v1_alt",
        "NT_187689.1": "chr3_KI270935v1_alt",
        "NT_187690.1": "chr3_KI270936v1_alt",
        "NT_187691.1": "chr3_KI270937v1_alt",
        "NT_113793.3": "chr4_GL000008v2_random",
        "NT_167250.2": "chr4_GL000257v2_alt",
        "NW_003315914.1": "chr4_GL383527v1_alt",
        "NW_003315915.1": "chr4_GL383528v1_alt",
        "NT_187542.1": "chr4_KI270785v1_alt",
        "NT_187543.1": "chr4_KI270786v1_alt",
        "NT_187541.1": "chr4_KI270787v1_alt",
        "NT_187544.1": "chr4_KI270788v1_alt",
        "NT_187545.1": "chr4_KI270789v1_alt",
        "NT_187540.1": "chr4_KI270790v1_alt",
        "NT_187650.1": "chr4_KI270896v1_alt",
        "NT_187679.1": "chr4_KI270925v1_alt",
        "NT_113948.1": "chr5_GL000208v1_random",
        "NW_003315917.2": "chr5_GL339449v2_alt",
        "NW_003315918.1": "chr5_GL383530v1_alt",
        "NW_003315919.1": "chr5_GL383531v1_alt",
        "NW_003315920.1": "chr5_GL383532v1_alt",
        "NW_003571036.1": "chr5_GL949742v1_alt",
        "NT_187547.1": "chr5_KI270791v1_alt",
        "NT_187548.1": "chr5_KI270792v1_alt",
        "NT_187550.1": "chr5_KI270793v1_alt",
        "NT_187551.1": "chr5_KI270794v1_alt",
        "NT_187546.1": "chr5_KI270795v1_alt",
        "NT_187549.1": "chr5_KI270796v1_alt",
        "NT_187651.1": "chr5_KI270897v1_alt",
        "NT_187652.1": "chr5_KI270898v1_alt",
        "NT_167244.2": "chr6_GL000250v2_alt",
        "NT_113891.3": "chr6_GL000251v2_alt",
        "NT_167245.2": "chr6_GL000252v2_alt",
        "NT_167246.2": "chr6_GL000253v2_alt",
        "NT_167247.2": "chr6_GL000254v2_alt",
        "NT_167248.2": "chr6_GL000255v2_alt",
        "NT_167249.2": "chr6_GL000256v2_alt",
        "NW_003315921.1": "chr6_GL383533v1_alt",
        "NW_004166862.2": "chr6_KB021644v2_alt",
        "NT_187692.1": "chr6_KI270758v1_alt",
        "NT_187552.1": "chr6_KI270797v1_alt",
        "NT_187553.1": "chr6_KI270798v1_alt",
        "NT_187554.1": "chr6_KI270799v1_alt",
        "NT_187555.1": "chr6_KI270800v1_alt",
        "NT_187556.1": "chr6_KI270801v1_alt",
        "NT_187557.1": "chr6_KI270802v1_alt",
        "NW_003315922.2": "chr7_GL383534v2_alt",
        "NT_187562.1": "chr7_KI270803v1_alt",
        "NT_187558.1": "chr7_KI270804v1_alt",
        "NT_187560.1": "chr7_KI270805v1_alt",
        "NT_187559.1": "chr7_KI270806v1_alt",
        "NT_187563.1": "chr7_KI270807v1_alt",
        "NT_187564.1": "chr7_KI270808v1_alt",
        "NT_187561.1": "chr7_KI270809v1_alt",
        "NT_187653.1": "chr7_KI270899v1_alt",
        "NT_187567.1": "chr8_KI270810v1_alt",
        "NT_187565.1": "chr8_KI270811v1_alt",
        "NT_187568.1": "chr8_KI270812v1_alt",
        "NT_187570.1": "chr8_KI270813v1_alt",
        "NT_187566.1": "chr8_KI270814v1_alt",
        "NT_187569.1": "chr8_KI270815v1_alt",
        "NT_187571.1": "chr8_KI270816v1_alt",
        "NT_187573.1": "chr8_KI270817v1_alt",
        "NT_187572.1": "chr8_KI270818v1_alt",
        "NT_187574.1": "chr8_KI270819v1_alt",
        "NT_187575.1": "chr8_KI270820v1_alt",
        "NT_187576.1": "chr8_KI270821v1_alt",
        "NT_187577.1": "chr8_KI270822v1_alt",
        "NT_187654.1": "chr8_KI270900v1_alt",
        "NT_187655.1": "chr8_KI270901v1_alt",
        "NT_187680.1": "chr8_KI270926v1_alt",
        "NW_003315928.1": "chr9_GL383539v1_alt",
        "NW_003315929.1": "chr9_GL383540v1_alt",
        "NW_003315930.1": "chr9_GL383541v1_alt",
        "NW_003315931.1": "chr9_GL383542v1_alt",
        "NT_187372.1": "chr9_KI270717v1_random",
        "NT_187373.1": "chr9_KI270718v1_random",
        "NT_187374.1": "chr9_KI270719v1_random",
        "NT_187375.1": "chr9_KI270720v1_random",
        "NT_187578.1": "chr9_KI270823v1_alt",
        "NT_113901.1": "chrUn_GL000195v1",
        "NT_167208.1": "chrUn_GL000213v1",
        "NT_167209.1": "chrUn_GL000214v1",
        "NT_167211.2": "chrUn_GL000216v2",
        "NT_113889.1": "chrUn_GL000218v1",
        "NT_167213.1": "chrUn_GL000219v1",
        "NT_167214.1": "chrUn_GL000220v1",
        "NT_167218.1": "chrUn_GL000224v1",
        "NT_167220.1": "chrUn_GL000226v1",
        "NT_187396.1": "chrUn_KI270302v1",
        "NT_187398.1": "chrUn_KI270303v1",
        "NT_187397.1": "chrUn_KI270304v1",
        "NT_187399.1": "chrUn_KI270305v1",
        "NT_187402.1": "chrUn_KI270310v1",
        "NT_187406.1": "chrUn_KI270311v1",
        "NT_187405.1": "chrUn_KI270312v1",
        "NT_187404.1": "chrUn_KI270315v1",
        "NT_187403.1": "chrUn_KI270316v1",
        "NT_187407.1": "chrUn_KI270317v1",
        "NT_187401.1": "chrUn_KI270320v1",
        "NT_187400.1": "chrUn_KI270322v1",
        "NT_187459.1": "chrUn_KI270329v1",
        "NT_187458.1": "chrUn_KI270330v1",
        "NT_187461.1": "chrUn_KI270333v1",
        "NT_187460.1": "chrUn_KI270334v1",
        "NT_187462.1": "chrUn_KI270335v1",
        "NT_187465.1": "chrUn_KI270336v1",
        "NT_187466.1": "chrUn_KI270337v1",
        "NT_187463.1": "chrUn_KI270338v1",
        "NT_187464.1": "chrUn_KI270340v1",
        "NT_187469.1": "chrUn_KI270362v1",
        "NT_187467.1": "chrUn_KI270363v1",
        "NT_187468.1": "chrUn_KI270364v1",
        "NT_187470.1": "chrUn_KI270366v1",
        "NT_187494.1": "chrUn_KI270371v1",
        "NT_187491.1": "chrUn_KI270372v1",
        "NT_187492.1": "chrUn_KI270373v1",
        "NT_187490.1": "chrUn_KI270374v1",
        "NT_187493.1": "chrUn_KI270375v1",
        "NT_187489.1": "chrUn_KI270376v1",
        "NT_187471.1": "chrUn_KI270378v1",
        "NT_187472.1": "chrUn_KI270379v1",
        "NT_187486.1": "chrUn_KI270381v1",
        "NT_187488.1": "chrUn_KI270382v1",
        "NT_187482.1": "chrUn_KI270383v1",
        "NT_187484.1": "chrUn_KI270384v1",
        "NT_187487.1": "chrUn_KI270385v1",
        "NT_187480.1": "chrUn_KI270386v1",
        "NT_187475.1": "chrUn_KI270387v1",
        "NT_187478.1": "chrUn_KI270388v1",
        "NT_187473.1": "chrUn_KI270389v1",
        "NT_187474.1": "chrUn_KI270390v1",
        "NT_187481.1": "chrUn_KI270391v1",
        "NT_187485.1": "chrUn_KI270392v1",
        "NT_187483.1": "chrUn_KI270393v1",
        "NT_187479.1": "chrUn_KI270394v1",
        "NT_187476.1": "chrUn_KI270395v1",
        "NT_187477.1": "chrUn_KI270396v1",
        "NT_187409.1": "chrUn_KI270411v1",
        "NT_187408.1": "chrUn_KI270412v1",
        "NT_187410.1": "chrUn_KI270414v1",
        "NT_187415.1": "chrUn_KI270417v1",
        "NT_187412.1": "chrUn_KI270418v1",
        "NT_187411.1": "chrUn_KI270419v1",
        "NT_187413.1": "chrUn_KI270420v1",
        "NT_187416.1": "chrUn_KI270422v1",
        "NT_187417.1": "chrUn_KI270423v1",
        "NT_187414.1": "chrUn_KI270424v1",
        "NT_187418.1": "chrUn_KI270425v1",
        "NT_187419.1": "chrUn_KI270429v1",
        "NT_187424.1": "chrUn_KI270435v1",
        "NT_187425.1": "chrUn_KI270438v1",
        "NT_187420.1": "chrUn_KI270442v1",
        "NT_187495.1": "chrUn_KI270448v1",
        "NT_187422.1": "chrUn_KI270465v1",
        "NT_187421.1": "chrUn_KI270466v1",
        "NT_187423.1": "chrUn_KI270467v1",
        "NT_187426.1": "chrUn_KI270468v1",
        "NT_187437.1": "chrUn_KI270507v1",
        "NT_187430.1": "chrUn_KI270508v1",
        "NT_187428.1": "chrUn_KI270509v1",
        "NT_187427.1": "chrUn_KI270510v1",
        "NT_187435.1": "chrUn_KI270511v1",
        "NT_187432.1": "chrUn_KI270512v1",
        "NT_187436.1": "chrUn_KI270515v1",
        "NT_187431.1": "chrUn_KI270516v1",
        "NT_187438.1": "chrUn_KI270517v1",
        "NT_187429.1": "chrUn_KI270518v1",
        "NT_187433.1": "chrUn_KI270519v1",
        "NT_187496.1": "chrUn_KI270521v1",
        "NT_187434.1": "chrUn_KI270522v1",
        "NT_187440.1": "chrUn_KI270528v1",
        "NT_187439.1": "chrUn_KI270529v1",
        "NT_187441.1": "chrUn_KI270530v1",
        "NT_187443.1": "chrUn_KI270538v1",
        "NT_187442.1": "chrUn_KI270539v1",
        "NT_187444.1": "chrUn_KI270544v1",
        "NT_187445.1": "chrUn_KI270548v1",
        "NT_187450.1": "chrUn_KI270579v1",
        "NT_187448.1": "chrUn_KI270580v1",
        "NT_187449.1": "chrUn_KI270581v1",
        "NT_187454.1": "chrUn_KI270582v1",
        "NT_187446.1": "chrUn_KI270583v1",
        "NT_187453.1": "chrUn_KI270584v1",
        "NT_187447.1": "chrUn_KI270587v1",
        "NT_187455.1": "chrUn_KI270588v1",
        "NT_187451.1": "chrUn_KI270589v1",
        "NT_187452.1": "chrUn_KI270590v1",
        "NT_187457.1": "chrUn_KI270591v1",
        "NT_187456.1": "chrUn_KI270593v1",
        "NT_187497.1": "chrUn_KI270741v1",
        "NT_187513.1": "chrUn_KI270742v1",
        "NT_187498.1": "chrUn_KI270743v1",
        "NT_187499.1": "chrUn_KI270744v1",
        "NT_187500.1": "chrUn_KI270745v1",
        "NT_187501.1": "chrUn_KI270746v1",
        "NT_187502.1": "chrUn_KI270747v1",
        "NT_187503.1": "chrUn_KI270748v1",
        "NT_187504.1": "chrUn_KI270749v1",
        "NT_187505.1": "chrUn_KI270750v1",
        "NT_187506.1": "chrUn_KI270751v1",
        "NT_187507.1": "chrUn_KI270752v1",
        "NT_187508.1": "chrUn_KI270753v1",
        "NT_187509.1": "chrUn_KI270754v1",
        "NT_187510.1": "chrUn_KI270755v1",
        "NT_187511.1": "chrUn_KI270756v1",
        "NT_187512.1": "chrUn_KI270757v1",
        "NT_187634.1": "chrX_KI270880v1_alt",
        "NT_187635.1": "chrX_KI270881v1_alt",
        "NT_187667.1": "chrX_KI270913v1_alt",
        "NT_187395.1": "chrY_KI270740v1_random"
    }
    if re.match('NC_', accession):
        accession = accession.split('.')[0]
    chr_num = chr_num_convert.get(accession)
    return chr_num

# <LICENSE>

# </LICENSE>